any-stream
Make any function that takes string input (as the first argument) streamable.
Installation
npm install any-stream
Usage
API
anyStream(fn, [...args])
Make fn
streamable by leveraging through2 to pass the contents of
a stream first and then any consecutive arguments to it.
Example
var fs =var anyStream =var htmlMinifier = minifyvar input = fsvar output = fsinput