lihai 8d6c751f49 feat: push | %!s(int64=2) %!d(string=hai) anos | |
---|---|---|
.. | ||
test | %!s(int64=2) %!d(string=hai) anos | |
.npmignore | %!s(int64=2) %!d(string=hai) anos | |
.travis.yml | %!s(int64=2) %!d(string=hai) anos | |
LICENCE | %!s(int64=2) %!d(string=hai) anos | |
README.md | %!s(int64=2) %!d(string=hai) anos | |
index.js | %!s(int64=2) %!d(string=hai) anos | |
package.json | %!s(int64=2) %!d(string=hai) anos |
Creates a duplex stream
Taken from event-stream
Takes a writable stream and a readable stream and makes them appear as a readable writable stream.
It is assumed that the two streams are connected to each other in some way.
var grep = cp.exec('grep Stream')
duplex(grep.stdin, grep.stdout)
npm install duplexer
npm test