Emmanuil 73a9f0ffcf 20.07.2020 4 anos atrás
..
index.js 73a9f0ffcf 20.07.2020 4 anos atrás
license 73a9f0ffcf 20.07.2020 4 anos atrás
package.json 73a9f0ffcf 20.07.2020 4 anos atrás
readme.md 73a9f0ffcf 20.07.2020 4 anos atrás

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