e-json

EJSON - Extended and Extensible JSON library from Meteor made compatible for Primus

npm install e-json
5 downloads in the last day
79 downloads in the last week
377 downloads in the last month

e-json, because EJSON was already taken in npm

Build Status NPM version

e-json is Meteor EJSON parser made compatible for Node.js and regular browser clients. This allows use for real-time systems such as Primus.

The API is exactly the same as the API that Meteor provides as it uses exactly the same code. The most important API's are:

  • EJSON.clone
  • EJSON.parse
  • EJSON.stringify

And some utility methods:

  • EJSON.toJSONValue
  • EJSON.fromJSONValue
  • EJSON.isBinary
  • EJSON.newBinary
  • EJSON.equals

License

This module is licensed under MIT. Same as Meteor.js is.

npm loves you