Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 25 lines (15 sloc) 0.499 kb
ce61cb8 @substack readme package.json etc
authored
1 # duplex-pipe
2
3 A friendlier `.pipe()` for duplex streams that doesn't do cleanup on `'end'`, as
4 per
5 [this node core issue](https://github.com/joyent/node/pull/2524#issuecomment-8790281).
6
7 # methods
8
9 This is exactly the same as node 0.8 core Stream except that duplex-pipe will
10 not do `dest.on('end', cleanup)` if `dest` is readable.
11
1c2f961 @substack extra hack to unregister cleanup listeners when piped to
authored
12 Plus there is another hack to remove cleanup listeners when piped to.
13
ce61cb8 @substack readme package.json etc
authored
14 # install
15
16 With [npm](https://npmjs.org) do:
17
18 ```
19 npm install duplex-pipe
20 ```
21
22 # license
23
24 MIT
Something went wrong with that request. Please try again.