gift-card-server/node_modules/duplexer
Rodrigo Pedroso 3ac017a5ad Commit project
2019-06-19 10:46:14 -04:00
..
test Commit project 2019-06-19 10:46:14 -04:00
.npmignore Commit project 2019-06-19 10:46:14 -04:00
.travis.yml Commit project 2019-06-19 10:46:14 -04:00
index.js Commit project 2019-06-19 10:46:14 -04:00
LICENCE Commit project 2019-06-19 10:46:14 -04:00
package.json Commit project 2019-06-19 10:46:14 -04:00
README.md Commit project 2019-06-19 10:46:14 -04:00

duplexer

build status dependency status

browser support

Creates a duplex stream

Taken from event-stream

duplex (writeStream, readStream)

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.

Example

var grep = cp.exec('grep Stream')

duplex(grep.stdin, grep.stdout)

Installation

npm install duplexer

Tests

npm test

Contributors

  • Dominictarr
  • Raynos
  • samccone

MIT Licenced