duplex-pipe

a friendlier .pipe() for duplex streams that doesn't do cleanup on 'end'

npm install duplex-pipe
3 downloads in the last day
48 downloads in the last week
148 downloads in the last month

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

npm loves you