Skip to main content
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://deno.land/x/zipjs@v2.7.43/index.d.ts";

Represents options passed to ZipReader#getEntries, ZipReader#getEntriesGenerator, and ZipWriter#close.

Methods

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

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