|
|
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