npm install xtream

stream2 helpers, inspired by rvagg/through2 and its friends
* xtream.through(streamOptions, transform, flush)
* xtream.map(streamOptions, mapCallback)
* xtream.reduce(streamOptions, reduceCallback, initial)
* xtream.filter(streamOptions, filterCallback)
Transform stream helpers that mimick the Array operations.
* xtream.inspect(streamOptions, inspectCallback)
Do nothing but emit every read data to inspectCallback
* xtream.duplex(streamOptions, readableStream, writableStream)
Generate a duplex stream that write to writableStream, read from readableStream
* xtream.split(streamOptions, spliter, mapCallback);
Split emitted data using spliter. Optional mapCallback can be assigned to process each splited result.
* xtream.concat(completeCallback)
Collect all readable contents into the completeCallback.
* xtream.combine(fisrtStream, secondStream, thirdStream, ..., lastStream);
Generate a stream pipeline; Write to the first stream, read from last stream and each stream is piped to the next in line.
* http://codewinds.com/blog/2013-08-31-nodejs-duplex-streams.html
* https://github.com/substack/stream-handbook
* http://codyaray.com/2013/04/intro-to-streams2-new-node-streams-part-1