{
  "id": "node-zlib-table",
  "kind": "table",
  "slug": "node-zlib",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/node-zlib/",
  "title": "Node.js zlib - gzip, deflate, Brotli and Zstd compression with streams",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "createGzip(), createDeflate(), createBrotliCompress()",
      "source": "Node.js API docs",
      "detail": "Transform streams for compressing a stream such as a file"
    },
    {
      "name": "createGunzip(), createUnzip()",
      "source": "Node.js API docs",
      "detail": "decompress streams; unzip detects gzip or deflate headers"
    },
    {
      "name": "gzip(buf, cb), deflate(buf, cb), brotliCompress(buf, cb)",
      "source": "Node.js API docs",
      "detail": "compress data in a single step"
    }
  ],
  "related_slugs": [
    "node-streams",
    "node-buffer",
    "node-http-and-url"
  ],
  "license": "CC-BY-4.0",
  "source_license": "MIT (Node.js API docs); MIT (nodejs/node (GitHub)); prose restates cited source lines in own words",
  "as_of": "2026-11-18",
  "status": "fill-draft-20261118",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}