flow-parse
Thin wrapper for JSONStream parse.
Installation
$ npm install flow-parse
Examples
var eventStream =pStream = ;// Create a new stream, passing along an optional error handler:var stream =;// Create the pipeline:stream;// Write data to the stream:stream;stream;// Error handler:{if errorconsole;throw 'Error!!!' ;}
Tests
Unit tests use the Mocha test framework with Chai assertions.
Assuming you have installed Mocha, execute the following command in the top-level application directory to run the tests:
$ mocha
All new feature development should have corresponding unit tests to validate correct functionality.
License
Copyright
Copyright © 2014. Athan Reines.