stream-copy

1.0.0 • Public • Published

stream-copy

Copy writable stream to multiple writable streams.

Installation

npm install --global stream-copy

Example

Copy process.stdout to a file:

var stream = require('stream');
stream.copy = require('stream-copy').copy;
stream.copy(process.stdout, fs.createWriteStream(filename));

You can copy to multiple streams:

stream.copy(origin, stream1, stream2...)

MIT Licensed

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i stream-copy

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • amingoia