Socket
Socket
Sign inDemoInstall

json-stringify-stream

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-stringify-stream

streaming json stringifier


Version published
Maintainers
1
Created
Source

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

Keywords

FAQs

Package last updated on 21 Jun 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc