rittenhop-ghost/versions/5.94.2/node_modules/to-readable-stream
2024-09-23 19:05:38 -04:00
..
index.js adding local files for running this....locally 2024-09-23 19:05:38 -04:00
license adding local files for running this....locally 2024-09-23 19:05:38 -04:00
package.json adding local files for running this....locally 2024-09-23 19:05:38 -04:00
readme.md adding local files for running this....locally 2024-09-23 19:05:38 -04: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