pipeline
v0.1.3
Published
Building stream chains
Downloads
673
Readme
Pipeline
Allows you to build a chain of streams and pipe them together.
Usage:
var Pipeline = require('pipeline')
, fs = require('fs')
, zlib = require('zlib')
;
var pipeline = Pipeline([
fs.createReadStream('./read_from_this_file')
, zlib.createGzip()
, fs.createReadStream('./read_from_this_file')
]);
pipeline.pipe();