No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test more tests Aug 28, 2013
.gitignore initial Aug 22, 2012
.travis.yml testing services Aug 28, 2013
LICENSE initial Aug 22, 2012
README.md
index.js attach line to err, so user can see what error Aug 28, 2013
package.json 1.1.2 Aug 28, 2013

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