streamifier
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/streamifier package

0.1.1 • Public • Published

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.

/streamifier/

    Package Sidebar

    Install

    npm i streamifier

    Weekly Downloads

    152,047

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • gagle