1.0.3 • Published 10 years ago

json5stream v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

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.
  });
1.0.3

10 years ago

1.0.0

10 years ago