|
|
преди 4 години | |
|---|---|---|
| .. | ||
| index.js | преди 4 години | |
| license | преди 4 години | |
| package.json | преди 4 години | |
| readme.md | преди 4 години | |
Convert a string/Buffer/Uint8Array to a readable stream
$ npm install to-readable-stream
const toReadableStream = require('to-readable-stream');
toReadableStream('🦄🌈').pipe(process.stdout);
Returns a stream.Readable.
Type: string Buffer Uint8Array
Value to convert to a stream.
MIT © Sindre Sorhus