package
EJSON - Extended and Extensible JSON library from Meteor made compatible for Nodejs and Browserify
npm install ejsonGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 1 packages.
65.4 kB
Includes dependencies.
ejson is an extension of JSON to support more types. It supports all JSON-safe
types as well as
Uint8ArrayThe ejson module is port of Meteor's EJSON parser which has been made
compatible for Node.js and browsers. This way, other
real-time libraries can also make use of
these extensions.
The module is released through npm:
npm install --save ejsonThe 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.cloneEJSON.parseEJSON.stringifyAnd some utility methods:
EJSON.toJSONValueEJSON.fromJSONValueEJSON.isBinaryEJSON.newBinaryEJSON.equalsSee the meteor EJSON documentation for more detailed information.
This module is licensed under MIT. Same as Meteor.js is.
v1
npm@3rd-Eden.com