Skip to main content
ZlibOptions - zlib - Node documentation
interface ZlibOptions

Usage in Deno

import { type ZlibOptions } from "node:zlib";

Properties

optional
flush: number | undefined
optional
finishFlush: number | undefined
optional
chunkSize: number | undefined
optional
windowBits: number | undefined
optional
level: number | undefined
optional
memLevel: number | undefined
optional
strategy: number | undefined
optional
dictionary:
ArrayBufferView
| ArrayBuffer
| undefined
optional
info: boolean | undefined

If true, returns an object with buffer and engine.

optional
maxOutputLength: number | undefined

Limits output size when using convenience methods.