Module

x/zipjs/index.js>EntryOnprogressOptions

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

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.