Skip to content

Glossary: Node.js Basics

zlib / gzip

Also written: createGzip, createGunzip, node:zlib

`node:zlib` is Node's built-in compression module. `createGzip()` is a Transform stream that compresses data, and `createGunzip()` reverses it.

Where the book teaches it

Related terms

Readable / Writable / Transform streampipeline