Questionnaire-of-the-Facebo.../node_modules/to-readable-stream
2021-03-10 20:43:28 -05:00
..
index.js Updated the Survey. 2021-03-10 20:43:28 -05:00
license Updated the Survey. 2021-03-10 20:43:28 -05:00
package.json Updated the Survey. 2021-03-10 20:43:28 -05:00
readme.md Updated the Survey. 2021-03-10 20:43:28 -05:00

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.

License

MIT © Sindre Sorhus