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.

Readme

Keywords

Package Sidebar

Install

npm i enable-stream

Weekly Downloads

1

Version

1.1.0

License

MIT

Last publish

Collaborators

  • agrzes