buffer-json-stream
Buffer streaming JSON. Readable stream pipes in chunks of JSON, buffer-json-stream pipes out all that JSON buffered into one stream chunk.
Install
npm install buffer-json-stream --save
Usage
Use as a normal Transform stream.
/*In: Chunk: { some: 'object' }Chunk: { someOther: 'object' } */ someReadableStream // Magic right there ; /*Out: Chunk: [ { some: 'object' }, { someOther: 'object' }]*/