Module

x/zipjs/index.d.ts>EntryDataOnprogressOptions

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

Represents options passed to {@link Entry#getData}, {@link ZipWriter.add} and {_@link_ ZipDirectory}.export*.

Methods

optional
onstart(total: number): Promise<void> | undefined

The function called when starting compression/decompression.

optional
onprogress(progress: number, total: number): Promise<void> | undefined

The function called during compression/decompression.

optional
onend(computedSize: number): Promise<void> | undefined

The function called when ending compression/decompression.