0.0.2 • Published 12 years ago

mux v0.0.2

Weekly downloads
16
License
-
Repository
github
Last release
12 years ago

mux

Multiplex streams

Usage

var mux = require('mux');

src
  .pipe(mux(
    dest1,
    dest2,
    dest3
  ))
  .pipe(somewhereElse)

Installation

$ npm install mux
# or
$ component install juliangruber/mux

API

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)

0.0.2

12 years ago

0.0.1

12 years ago