duplexer

Creates a duplex stream

MIT License

Downloads
65.9M
Stars
95
Committers
8

DEPRECATED.

Apparently this module is broken and not compatible with more recent versions of nodejs.

Do not use.

duplexer

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 cp = require('child_process')
  , duplex = require('duplexer')
  , grep = cp.exec('grep Stream')

duplex(grep.stdin, grep.stdout)

Installation

npm install duplexer

Tests

npm test

Contributors

  • Dominictarr
  • Raynos
  • samccone

MIT Licenced

Package Rankings
Top 1.77% on Npmjs.org
Top 8.17% on Proxy.golang.org
Top 20.93% on Repo1.maven.org
Badges
Extracted from project README
build status dependency status browser support