npm.io
1.1.1 • Published 11 years ago

stream-cat

Licence
MIT
Version
1.1.1
Deps
1
Vulns
0
Weekly
0
Stars
12

stream-cat

Concatenate streams, the simple way.

build status

testling badge

Example

var cat = require('stream-cat');

cat([abcStream(), defStream()]).pipe(process.stdout);

// outputs:
a b c d e f

Installation

$ npm install stream-cat

API

cat(streams)

Given an array of streams, drain one after another completely and stream the results. Returns a readable stream. Errors are forwarded.

Just like cat streamA streamB.

License

MIT