Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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);

Keywords

none

install

npm i middle

Downloadsweekly downloads

1

version

0.0.2

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability