3.1.0 • Published 8 years ago

stream-funnel v3.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Stream collector

Join/merge n streams into one. The resulting stream will end when all the input streams have sent the end event.

Example

const Funnel = require( 'stream-funnel' );
const stream1 = new Stream();
const stream2 = new Stream();

const funnel = new Funnel();


funnel.addSource( stream1 );
funnel.addSource( stream2 );
// OR funnel.addSources( [ stream1, stream2 ] );
funnel.pipe( process.out );

Debug

This module uses the debug package, add stream-funnel to the DEBUG env variable to see the logs.

3.1.0

8 years ago

3.0.0

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.0.0

9 years ago

0.1.0

9 years ago