stream-chunk-iter
v0.0.1
Published
```shell npm add stream-chunk-iter yarn add stream-chunk-iter pnpm add stream-chunk-iter ```
Downloads
1
Readme
npm add stream-chunk-iter
yarn add stream-chunk-iter
pnpm add stream-chunk-iter
const fs = require('node:fs')
const { streamChunkIter } = require("stream-chunk-iter");
for await(const data of streamChunkIter(fs.createReadStream('...'), 512)) {
console.log(data.length);
}