middle

0.0.2 • Public • Published

Middle

Get a stream A, pipe it into stream B.

Returns a duplex stream that is the writeable stream part of A and a readable stream part of B

Example:

var Middle = require('middle');
 
var from = // a duplex stream
var to = // another duplex stream
var middle = new Middle(from, to)
 
 
// you can also pipe this:
anotherStream.pipe(middle);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    100
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    100
  • 0.0.1
    0

Package Sidebar

Install

npm i middle

Weekly Downloads

78

Version

0.0.2

License

none

Last publish

Collaborators

  • pgte