Module

x/zipjs/index.d.ts>EntryOnprogressOptions

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

Represents options passed to {@link ZipReader#getEntries}, {@link ZipReader#getEntriesGenerator}, and {@link ZipWriter#close}.

Methods

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

The function called each time an entry is read/written.