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

simple-stream-pipe

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