
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
node-document-serializer-bson
Advanced tools
Serializer adapter `bson` for `node-document` ODM for Node.js.

Serializer adapter bson for node-document ODM for Node.js.
$ npm install node-document-serializer-bson
Basic:
var Serializer = require('node-document-serializer-bson');
var serializer = new Serializer();
var object = {foo: "bar"}, data;
console.log("Object: ", require('util').inspect(object), typeof object);
data = serializer.serialize(object);
console.log("Serialized: ", require('util').inspect(data), typeof data);
object = serializer.deserialize(data);
console.log("Deserialized: ", require('util').inspect(object), typeof object);
For details; see node-document.
Local tests:
$ make test
Released under the MIT license.
Copyright (c) Jonas Grimfelt
FAQs
Serializer adapter `bson` for `node-document` ODM for Node.js.
The npm package node-document-serializer-bson receives a total of 6 weekly downloads. As such, node-document-serializer-bson popularity was classified as not popular.
We found that node-document-serializer-bson demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.