|
|
пре 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