Skip to content

meter

meter: (options?) => any

Defined in: utils/streams/meter.js:30

Creates a byte-metering Transform stream.

Meter configuration

number

Expected byte count (from Content-Length)

number = Infinity

Maximum bytes allowed

any

  • Transform with bytesRead, limit, expected properties