OptionalcodecThe URL of a module exporting the CompressionStream and/or DecompressionStream classes of
the codec. Relative URLs are resolved against Configuration#baseURI; passing an absolute
URL (e.g. via import.meta.resolve()) is recommended.
The compression method stored in zip entry headers (e.g. 93 for Zstandard). The values 0
(store), 8 (deflate), 9 (deflate64) and 99 (AES) are reserved.
OptionalCompressionThe stream implementation used to compress data, constructed with (format, options), see
CompressionStreamOptions.
OptionalDecompressionThe stream implementation used to decompress data, constructed with (format, options), see
DecompressionStreamOptions.
The format name identifying the codec (e.g. "zstd"). It is passed as the first argument to
the constructors of CompressionStream and DecompressionStream.
OptionalversionThe minimum "version needed to extract" value written in zip entry headers (e.g. 63 for
Zstandard).
Represents a codec definition passed to registerCodec.