[Go to site: main page, start]

Skip to content
zlib

The node:zlib module provides compression functionality implemented using Gzip, Deflate/Inflate, and Brotli. To access it:

import zlib from "node:zlib";

The full node:zlib API is documented in the Node.js documentation for node:zlib ↗︎.

Was this helpful?