chrisdrakeford 9c87c1307d first commit il y a 3 ans
..
index.js 9c87c1307d first commit il y a 3 ans
license 9c87c1307d first commit il y a 3 ans
package.json 9c87c1307d first commit il y a 3 ans
readme.md 9c87c1307d first commit il y a 3 ans

readme.md

to-readable-stream Build Status

Convert a string/Buffer/Uint8Array to a readable stream

Install

$ npm install to-readable-stream

Usage

const toReadableStream = require('to-readable-stream');

toReadableStream('🦄🌈').pipe(process.stdout);

API

toReadableStream(input)

Returns a stream.Readable.

input

Type: string Buffer Uint8Array

Value to convert to a stream.

Related

License

MIT © Sindre Sorhus