Module

x/zipjs/index.d.ts>initShimAsyncCodec

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

Transforms event-based third-party codec implementations into implementations compatible with zip.js

Parameters

The third-party codec implementations.

constructorOptions: unknown | null

The options passed to the third-party implementations when building instances.

registerDataHandler: registerDataHandler

The function called to handle the data events triggered by a third-party codec implementation.

Returns

An instance containing classes compatible with {@link ZipDeflate} and {@link ZipInflate}.