wrap-stream
Wrap the output of a stream with a prefix and/or suffix.
Streams2 compliant.
Usage
wrap(pre, post)
Returns a through stream that adds pre
before any other output and post
after calling stream.end()
.
var wrap =var fs =fs
If you'd prefer not to use either of pre
or post
, just pass null
in its
place.
var wrap =var fs =fs
License
MIT. See LICENSE.md for details.