json5stream

1.0.3 • Public • Published

json5stream

Streaming json5 parsing

JSON5 is awesome!
Actually, some may disagree.

Similar to jsonstream, this library is a wrapper around the JSON5.parse function to support streaming data into the parser.

Usage

$ npm install json5stream
var json5stream = require( "json5stream" );

fs.createReadStream( "somefile.json5" )
  .pipe( json5stream() )
  .on( "data", function ( d ) {
      // do something with it.
  });

Readme

Keywords

Package Sidebar

Install

npm i json5stream

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • avinoamr