@trenskow/stream-limiter

0.1.16 • Public • Published

@trenskow/stream-limiter

A transform stream to limit the length of a stream.

Usage

const StreamLimiter = require('@trenskow/stream-limiter');

const myReadableStream = /* a readable stream */
const myWriteableStream = /* a writeable stream */

myReadableStream.pipe(new StreamLimiter(1000 /* (limit) */)).pipe(myWriteableStream)

LICENSE

See LICENSE

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.16
    73
    • latest

Version History

Package Sidebar

Install

npm i @trenskow/stream-limiter

Weekly Downloads

76

Version

0.1.16

License

BSD-2-Clause

Unpacked Size

3.74 kB

Total Files

5

Last publish

Collaborators

  • trenskow