Zlib
API support and documentation for the node:zlib.
Modules
Status | Module | Docs |
|---|---|---|
🟡 Partially supported. |
|
zlib | Classes
Options🟡 Supported, but options are not applied yet.
BrotliOptions🟡 Supported, but options are not applied yet.
BrotliCompress🟢 Supported.
BrotliDecompress🟢 Supported.
Deflate🟢 Supported.
DeflateRaw🔴 Not implemented.
Gunzip🟢 Supported.
Gzip🟢 Supported.
Inflate🟢 Supported.
InflateRaw🔴 Not implemented.
Unzip🟢 Supported.
ZlibBase🔴 Not implemented.
zlib | Properties
constants🟢 Supported.
zlib | Methods
crc32(data[, value])🟢 Supported.
Streams
These methods create streams which compress or decompress data.
createBrotliCompress([options])🟢 Supported.
createBrotliDecompress([options])🟢 Supported.
createDeflate([options])🟢 Supported.
createDeflateRaw([options])🔴 Not implemented.
createGunzip([options])🟢 Supported.
createGzip([options])🟢 Supported.
createInflate([options])🟢 Supported.
createInflateRaw([options])🔴 Not implemented.
createUnzip([options])🟢 Supported.
Convenience
These methods compress or decompress data.
brotliCompress(buffer[, options], callback)🟢 Supported.
brotliCompressSync(buffer[, options])🟢 Supported.
brotliDecompress(buffer[, options], callback)🟢 Supported.
brotliDecompressSync(buffer[, options])🟢 Supported.
deflate(buffer[, options], callback)🟢 Supported.
deflateSync(buffer[, options])🟢 Supported.
deflateRaw(buffer[, options], callback)🔴 Not implemented.
deflateRawSync(buffer[, options])🔴 Not implemented.
gunzip(buffer[, options], callback)🟢 Supported.
gunzipSync(buffer[, options])🟢 Supported.
gzip(buffer[, options], callback)🟢 Supported.
gzipSync(buffer[, options])🟢 Supported.
inflate(buffer[, options], callback)🟢 Supported.
inflateSync(buffer[, options])🟢 Supported.
inflateRaw(buffer[, options], callback)🔴 Not implemented.
inflateRawSync(buffer[, options])🔴 Not implemented.
unzip(buffer[, options], callback)🟢 Supported.
unzipSync(buffer[, options])🟢 Supported.