Socket
Socket
Sign inDemoInstall

stream-serializer

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    stream-serializer

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


Version published
Maintainers
1
Install size
5.89 kB
Created

Readme

Source

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

FAQs

Last updated on 28 Aug 2013

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc