Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

unzip

Asynchronously decompresses a ZIP archive

function unzip(
data: Uint8Array,
): AsyncTerminable;
function unzip(data: Uint8Array, cb: UnzipCallback): AsyncTerminable;
§
unzip(data: Uint8Array, opts: AsyncUnzipOptions, cb: UnzipCallback): AsyncTerminable
[src]

Asynchronously decompresses a ZIP archive

§Parameters

§
data: Uint8Array
[src]

The raw compressed ZIP file

§

The ZIP extraction options

§

The callback to call with the decompressed files

§Return Type

§

A function that can be used to immediately terminate the unzipping

§
unzip(data: Uint8Array, cb: UnzipCallback): AsyncTerminable
[src]

Asynchronously decompresses a ZIP archive

§Parameters

§
data: Uint8Array
[src]

The raw compressed ZIP file

§

The callback to call with the decompressed files

§Return Type

§

A function that can be used to immediately terminate the unzipping