cloudflare · Cloudflare Workers Docs
Workers zlib
Enabling and using the Node.js zlib module within Cloudflare Workers to perform Gzip, Deflate, and Brotli compression.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers zlib
Enabling and using the Node.js zlib module within Cloudflare Workers to perform Gzip, Deflate, and Brotli compression.
When To Use
Use when you need to implement data compression or decompression using Gzip, Deflate, or Brotli within a Cloudflare Worker environment.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-runtime-apis-nodejs-zlib-workflow-guide.md | Documentation detailing the availability and configuration requirements for the Node.js zlib API within Cloudflare Workers. | Questions about documentation detailing the availability and configuration requirements for the Node.js zlib API within Cloudflare Wo... |
examples/workers-runtime-apis-nodejs-zlib-cloudflare-workers-nodejs-zlib.text | A code example demonstrating the usage of the node:zlib module within the Cloudflare Workers runtime environment. | Exact payloads, commands, or snippets shown in A code example demonstrating the usage of the node:zlib module within the Cloudflare Workers runtime environment. |
What This Skill Covers
- To enable built-in Node.js APIs and polyfills, add the nodejs\compat compatibility flag to your Wrangler configuration file. This also enables nodejs\compat...
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/runtime-apis/nodejs/zlib
