Skip to main content
CompressionStream - Streams - Web documentation
variable CompressionStream

An API for compressing a stream of data.

Examples

Example 1

await Deno.stdin.readable
  .pipeThrough(new CompressionStream("gzip"))
  .pipeTo(Deno.stdout.writable);

Properties