simple-stream-pipe

Pipe simple-stream to node's writable stream

npm install simple-stream-pipe
2 downloads in the last week
4 downloads in the last month

simple-stream-pipe

Pipe simple-stream to node's core writable stream.

Usage

var pipe = require('simple-stream-pipe')
pipe(src, writable)

You can also pass optional callback function which will be called on a src error.

pipe() has "fire and forget" semantics and assumes that it is the only writer to writable.

Writables that have a resource behind must have .destroy() method.

Installation

via npm

npm install simple-stream-pipe

License

MIT

npm loves you