Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

stream-serializer

wrap a stream of regular js objects into a stream of line separated 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 applies the wrapping.

ss(opts.wrapper)(stream) 

License

MIT

You can’t perform that action at this time.