streamifier

Converts a Buffer/String to a readable stream

npm install streamifier
21 downloads in the last day
785 downloads in the last week
3 992 downloads in the last month

streamifier

Converts any data type to a Readable stream

NPM version

NPM installation

Functions


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.

npm loves you