json-transform-stream
v1.0.1
Published
Transform JSON strings into objects
Downloads
19
Readme
json-transform-stream
Transform JSON strings into objects
Example
var JSONTransformStream = require('json-transform-stream');
var stream = new JSONTransformStream({ highWaterMark: 16 });
stream.on('data', function(data) {
console.log(data); // => { foo: 'bar' }
});
stream.end('{ "foo": "bar" }');
License
MIT