$ npm install to-readable-stream
Convert a value to a
ReadableStream
Not to be confused with Node.js stream.Readable
, in which case, stream.Readable#from()
should be used instead.
npm install to-readable-stream
import toReadableStream from 'to-readable-stream';
toReadableStream('🦄🌈');
//=> ReadableStream<'🦄🌈'>
Returns a ReadableStream
.
The value to convert to a stream.
© 2010 - cnpmjs.org x YWFE | Home | YWFE