Provides a means of performing gzip and deflate compression from JavaScript using streams. This covers two interfaces: CompressionStream and DecompressionStream.


It is possible to compress stream data without this feature, but common libraries like zlib are complex to use. CompressionStream makes it easy for developers to do this, and avoids the need to bundle a compressor with their application.




Specification link

Unknown standards status - check spec link for status

Status in Chromium


Enabled by default (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.


Intent to Prototype url

Intent to Prototype thread

Search tags

TransformStream ReadableStream WritableStream transform zlib,

Last updated on 2021-12-13