Mohammad Asif cf937194cb Removed un-waned things 1. | преди 5 месеца | |
---|---|---|
.. | ||
index.d.ts | преди 5 месеца | |
index.js | преди 5 месеца | |
license | преди 5 месеца | |
package.json | преди 5 месеца | |
readme.md | преди 5 месеца |
Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
Correctly chunks up the input and handles backpressure.
$ npm install into-stream
const intoStream = require('into-stream');
intoStream('unicorn').pipe(process.stdout);
//=> 'unicorn'
Type: Buffer | TypedArray | ArrayBuffer | string | Iterable<Buffer | string> | AsyncIterable<Buffer | string> | Promise
\
Returns: Readable stream
Adheres to the requested chunk size, except for array
where each element will be a chunk.
Type: object | Iterable<object> | AsyncIterable<object> | Promise
\
Returns: Readable object stream