flush-write-stream
A write stream constructor that supports a flush function that is called before finish
is emitted
Usage
If you run the above it will produce the following output
API
var ws = writer([options], write, [flush])
var ws = writer([options], write, [flush])
Create a new writable stream. Options are forwarded to the stream constructor.
var ws = writer.obj([options], write, [flush])
var ws = writer.obj([options], write, [flush])
Same as the above except objectMode
is set to true
per default.
License
MIT
Last updated