a friendlier .pipe() for duplex streams that doesn't do cleanup on 'end'
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
index.js
package.json
readme.markdown

readme.markdown

duplex-pipe

A friendlier .pipe() for duplex streams that doesn't do cleanup on 'end', as per this node core issue.

methods

This is exactly the same as node 0.8 core Stream except that duplex-pipe will not do dest.on('end', cleanup) if dest is readable.

Plus there is another hack to remove cleanup listeners when piped to.

install

With npm do:

npm install duplex-pipe

license

MIT