npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

stream-serializer

1.1.2 • Public • Published

stream-serializer

wrap a stream of regular js objects into a stream of line seperated json.

build status

testling badge

example

var json = require('stream-serializer').json
 
json(stream) //return a stream that can be piped through a text stream.

or

var ss require('stream-serializer')
 
//get your user to pass in a wrapper option
//which may be the typeof stream that is supported
//of a function that applys the wrapping.
 
ss(opts.wrapper)(stream) 
 

License

MIT

Keywords

none

install

npm i stream-serializer

Downloadsweekly downloads

28,819

version

1.1.2

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability