bandwidth-throttle-stream icon indicating copy to clipboard operation
bandwidth-throttle-stream copied to clipboard

A Node.js and Deno transform stream for throttling bandwidth

Results 6 bandwidth-throttle-stream issues
Sort by recently updated
recently updated
newest added

Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...

dependencies

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...

dependencies

Bumps [flat](https://github.com/hughsk/flat) to 5.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `flat` from 4.1.1 to 5.0.2 Commits e5ffd66 Release 5.0.2 fdb79d5 Update dependencies, refresh...

dependencies

```js const readStream = fs.createReadStream(inFile) const writeStream = fs.createWriteStream(file) const bandwidthThrottleGroup = createBandwidthThrottleGroup({ bytesPerSecond: 500000 }) const throttleStream = bandwidthThrottleGroup.createBandwidthThrottle(500000) read.pipe(throttleStream).pipe(writeStream) ``` will always RangeError: offset is out of bounds.

I cereate the file varuable via createReadStream. It is working normally without the throtling. ``` const bandwidthThrottleGroup = createBandwidthThrottleGroup({ bytesPerSecond: rate }); const throttle = bandwidthThrottleGroup.createBandwidthThrottle(item.meta.fileSize); file .pipe(throttle) .pipe(writable) ```...

is it possible to support creating throttle group for distributed environment (among multiple server nodes), using redis ? if so, that would be useful. for example, we can use it...