Skip to content

CompressionFormat

Defined in: index.d.ts:1318

Compression format detected from input data.

Compare a result with the members, such as CompressionFormat.Zstd, or with their values, the strings 'zstd', 'gzip', 'brotli', 'lz4' and 'unknown'. Like the object that TypeScript compiles an enum into, the runtime object has a plain property for each member, so Object.keys() returns the names and Object.values() the strings.

Brotli: "brotli"

Defined in: index.d.ts:1321


Gzip: "gzip"

Defined in: index.d.ts:1320


Lz4: "lz4"

Defined in: index.d.ts:1322


Unknown: "unknown"

Defined in: index.d.ts:1323


Zstd: "zstd"

Defined in: index.d.ts:1319