1.1.1 • Published 10 years ago
stream-cat v1.1.1
stream-cat
Concatenate streams, the simple way.
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