Create a stream that emits events from multiple other streams
npm install merge-stream
|2||downloads in the last week|
|6||downloads in the last month|
|Version||0.1.0 last updated 9 months ago|
var stream1 = new Stream(); var stream2 = new Stream(); var merged = mergeStream(stream1, stream2); var stream3 = new Stream(); merged.add(stream3);
This is the merge function from event-stream separated into a new module and given an
add method so you can dynamically add more sources to the stream.