npm bson 5.1.0
v5.1.0

latest releases: 6.7.0, 6.6.0, 6.5.0...
15 months ago

The MongoDB Node.js team is pleased to announce version 5.1.0 of the bson package!

Release Highlights

EJSON.stringify now supports ES Map!

import { EJSON } from 'bson';

const m = new Map([
  ['a', new Map([['b', 1]])],
  ['b', 2]
]);

console.log(EJSON.stringify(m))
// '{"a":{"b":1},"b":2}'

Features

Documentation

We invite you to try the bson library immediately, and report any issues to the NODE project.

Don't miss a new bson release

NewReleases is sending notifications on new releases.