Module

x/zipjs/index.d.ts>ZipWriterAddDataOptions

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

Represents the options passed to {@link ZipWriter#add}.

Properties

optional
directory: boolean

true if the entry is a directory.

optional
comment: string

The comment of the entry.

optional
extraField: Map<number, Uint8Array>

The extra field of the entry.

optional
uncompressedSize: number

The uncompressed size of the entry. This option is ignored if the {@link ZipWriterConstructorOptions#passThrough} option is not set to true.

optional
signature: number

The signature (CRC32 checksum) of the content. This option is ignored if the {@link ZipWriterConstructorOptions#passThrough} option is not set to true.