Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
index.js
package.json
test.js

README.md

json-stringify-stream

Calls JSON.stringify() on data written to it and emits the result.

var stringify = require('json-stringify-stream')
  , st = stringify()

st.pipe(process.stdout)
st.write([1,2,3])

/* output:
'[1,2,3]'
*/

events

stringify() instances are readable/writable streams.

Their data events are simply the stringified form of what was written to it.

license

MIT

Something went wrong with that request. Please try again.