0.0.1 • Published 9 years ago

through2-jsonwriter v0.0.1

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

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"}