default
The node:zlib module provides compression functionality implemented using
Gzip, Deflate/Inflate, and Brotli.
Compress a chunk of data with BrotliCompress.
Decompress a chunk of data with BrotliDecompress.
Computes a 32-bit Cyclic Redundancy Check checksum of data.
If value is specified, it is used as the starting value of the checksum, otherwise, 0 is used as the starting value.
Creates and returns a new BrotliCompress object.
Creates and returns a new BrotliDecompress object.
Creates and returns a new Deflate object.
Creates and returns a new DeflateRaw object.
Creates and returns a new Gunzip object.
Creates and returns a new Gzip object.
See example.
Creates and returns a new Inflate object.
Creates and returns a new InflateRaw object.
Creates and returns a new Unzip object.
Compress a chunk of data with DeflateRaw.
Compress a chunk of data with Deflate.
Decompress a chunk of data with Gunzip.
Compress a chunk of data with Gzip.
Decompress a chunk of data with InflateRaw.
Decompress a chunk of data with Inflate.
Decompress a chunk of data with Unzip.