Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/zipjs@v2.7.53/index.d.ts";

Represents options passed to Entry#getData, ZipWriter.add and 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.