enable-stream

1.1.0 • Public • Published

enable-stream Build Status Coverage Status

Utility for enabling/disabling streams in pipeline

Usage

var es = require('enable-stream)

es.src(source,sourceEnabled).pipe(es(transform,transformEnabled)).pipe(es.dst(destination,destinationEnabled))

if a function creating a stream is passed to enable-stream then it is called only when stream is enabled.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    2
  • 1.0.0
    0

Package Sidebar

Install

npm i enable-stream

Weekly Downloads

2

Version

1.1.0

License

MIT

Last publish

Collaborators

  • agrzes