https://github.com/dominictarr/mux-demux
MuxDemux is fantastic. However what your asking for is not a multiplexer. 3 readable streams into one stream: var newStream = through() stream1.pipe(newStream) stream2.pipe(newStream) stream3.pipe(newStream) write to one into 3 var writeStream = through() writeStream.pipe(stream1) writeStream.pipe(stream2) writeStream.pipe(stream3) On Mon, Sep 3, 2012 at 2:44 AM, lbdremy <[email protected]> wrote: > Hello, > > I'm wondering, does someone know a module that is able to aggregate > multiple streams into 1. > For example you give it 3 readable streams and you get 1 stream emitting > all `data ` events from these 3 streams and emitting the `end` event when > the 3 streams are ended. > Same thing for writable streams, where when you write, you actually write > to 3 streams. > And a combinaison of both for writable/readable streams. > > Thanks, > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
