stream-buffer
Create a writable stream that will save all data written to a buffer. The buffer can be "replayed" into another writable stream at any time.
The buffer stream will have a stream.replay()
method which works like
stream.pipe()
but will re-write all data regardless of when the
function is called.
Example
var buffer = ;var stream = ; ;
Installation
npm install stream-buffer