Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 0.0.1
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (15 sloc) 0.499 kb

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

Jump to Line
Something went wrong with that request. Please try again.