Skip to content

mrdaniellewis/node-pipe-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pipe box

npm version

Encapsulate a series of piped streams into a single stream object,

const PipeBox = require('pipe-box');

const pipedSequence = sourceStream
  .pipe(someTransform)
  .pipe(someOtherTransform);

var pipeBox = new PipeBox( { writeable: sourceStream, readable: pipedSequence } );

pipeBox.write('something');
pipeBox.read() // => The something transformed by the transforms

About

Wrap a series of node piped streams into a single stream

Resources

License

Stars

Watchers

Forks

Packages

No packages published