interface CompressionStream
extends GenericTransformStream
An API for compressing a stream of data.
Examples Jump to heading
Jump to heading
Example 1
Example 1
await Deno.stdin.readable
.pipeThrough(new CompressionStream("gzip"))
.pipeTo(Deno.stdout.writable);
Properties Jump to heading
readonly
Jump to headingreadable: ReadableStream<Uint8Array>