Optionaltransfertrue to transfer stream ownership to web workers.
Optionalusetrue to use the native API CompressionStream/DecompressionStream to compress/decompress data.
When compressing, the native API is only used when level is undefined or equal to 6, see ZipWriterConstructorOptions#level.
Optionalusetrue to use web workers to compress/decompress data in non-blocking background processes.
Represents configuration passed to configure, the constructor of ZipReader, FileEntry#getData, the constructor of ZipWriter, and ZipWriter#add.
Remarks
The three options below are read as truthy values, they are not converted. Any non-empty string is therefore
true,"false"and"0"included. This is deliberate, so that an expression such asuseWebWorkers: supported && enabledkeeps working, but it differs from the numeric options, which do accept the string a form control, a query string or an environment variable yields. A boolean read from one of those must be converted by the caller.