0.0.2 • Published 13 years ago
mux v0.0.2
mux
Multiplex streams
Usage
var mux = require('mux');
src
.pipe(mux(
dest1,
dest2,
dest3
))
.pipe(somewhereElse)Installation
$ npm install mux
# or
$ component install juliangruber/muxAPI
mux(destination, ...)
Creates a new through Stream that pipes all incoming data to each
destination-Stream.
For each destination there is a pausable stream connected in-between so that
when one destination applies backpressure the others aren't slowed down.
License
(MIT)