Module

x/zipjs/index.js>EntryDataOnprogressOptions

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

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.