1.0.1 • Published 9 years ago

objstream v1.0.1

Weekly downloads
10
License
MIT
Repository
github
Last release
9 years ago

ObjStream is a simple transform stream used to convert a readable objectMode stream into a regular stream.

It achieves this by calling JSON.stringify on each object in the original stream, and wrapping the result in [] characters with a comma separating each object, effectively turning your readable objectMode stream into a JSON array.