import { initShimAsyncCodec } from "https://deno.land/x/zipjs@v2.7.53/index.d.ts";
Transforms event-based third-party codec implementations into implementations compatible with zip.js
Parameters
library: EventBasedZipLibrary
The third-party codec implementations.
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 ZipDeflate and ZipInflate.