Interface ZipReaderOptions

Represents options passed to the constructor of ZipReader and Entry#getData.

interface ZipReaderOptions {
    checkPasswordOnly?: boolean;
    checkSignature?: boolean;
    passThrough?: boolean;
    password?: string;
    preventClose?: boolean;
    rawPassword?: Uint8Array;
    signal?: AbortSignal;
    transferStreams?: boolean;
}

Hierarchy (view full)

Properties

checkPasswordOnly?: boolean

true to check only if the password is valid.

false
checkSignature?: boolean

true to check the signature of the entry.

false
passThrough?: boolean

true to read the data as-is without decompressing it and without decrypting it.

password?: string

The password used to decrypt the content of the entry.

preventClose?: boolean

true to prevent closing of Writer#writable when calling Entry#getData.

false
rawPassword?: Uint8Array

The password used to encrypt the content of the entry (raw).

signal?: AbortSignal

The AbortSignal instance used to cancel the decompression.

transferStreams?: boolean

true to transfer streams to web workers when decompressing data.

true