Detalhes do pacote

streamifier

gagle940kMIT0.1.1

Converts a Buffer/String into a readable stream

string, buffer, readable, stream

readme (leia-me)

streamifier

Converts a Buffer/String into a readable stream

npm

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.

changelog (log de mudanças)

v0.1.1 (03 Apr 2015) Clean up.

v0.1.0 (21 Oct 2013) Performance slightly improved due to the simplification of the code. This is the most basic code that is needed. If you pass an object, the stream is converted automatically to the object mode.

v0.0.2 (19 Jul 2013) Bump version.

v0.0.1 (01 Apr 2013) First release.