0.0.1 • Published 9 years ago
through2-jsonwriter v0.0.1
through2-jsonwriter
A simple transform stream that stringifies JSON
Installation
npm install through2-jsonwriter
or
npm install --save through2-jsonwriter
Usage
var jsonWriter = require('through2-jsonwriter');
var stringifier = jsonWriter();
stringifier.write({hello: 'world'});
stringifier.pipe(process.stdout); //outputs {"hello":"world"}
0.0.1
9 years ago