Skip to main content
CompressionStream - stream/web - Node documentation
variable CompressionStream

CompressionStream class is a global reference for import { CompressionStream } from 'node:stream/web'. https://nodejs.org/api/globals.html#class-compressionstream

Type

globalThis extends { onmessage: any; ReportingObserver: any; CompressionStream: infer T; } ? T : globalThis extends { onmessage: any; TransformStream: { prototype: infer T; }; } ? { prototype: T; } : stream/web