streamifier
v0.1.1
Published
Converts a Buffer/String into a readable stream
Downloads
812,149
Readme
streamifier
Converts a Buffer/String into a readable stream
module.createReadStream(object[, options]) : Readable
Returns a Readable stream.
The object
can be of any data type. If it is a Buffer or a string, the available options
are highWaterMark
and encoding
, otherwise the Readable stream is automatically set in object mode and the options
parameter is ignored.