1.1.0 • Published 7 years ago

enable-stream v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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.