Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/zipjs/index.d.ts>ZipReaderOptions

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
Latest
interface ZipReaderOptions
import { type ZipReaderOptions } from "https://deno.land/x/zipjs@v2.7.53/index.d.ts";

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

Properties

optional
checkPasswordOnly: boolean

true to check only if the password is valid.

optional
checkSignature: boolean

true to check the signature of the entry.

optional
password: string

The password used to decrypt the content of the entry.

optional
passThrough: boolean

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

optional
rawPassword: Uint8Array

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

optional
signal: AbortSignal

The AbortSignal instance used to cancel the decompression.

optional
preventClose: boolean

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

optional
transferStreams: boolean

true to transfer streams to web workers when decompressing data.