github mongodb/js-bson v5.1.0

latest releases: v7.0.0, v7.0.0-alpha.2, v7.0.0-alpha.1...
2 years 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 js-bson release

NewReleases is sending notifications on new releases.