This package has been deprecated

Author message:

e-json has been renamed to ejson, use that package instead

e-json

0.0.4 • Public • Published

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.

Package Sidebar

Install

npm i e-json

Weekly Downloads

2

Version

0.0.4

License

MIT

Last publish

Collaborators

  • V1