Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/zipjs/index.d.ts>ZipDirectoryEntry#importZip

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, Zip64 and encryption.
Go to Latest
method ZipDirectoryEntry.prototype.importZip
import { ZipDirectoryEntry } from "https://deno.land/x/zipjs@v2.6.55/index.d.ts";

Extracts a zip file provided via a custom Reader instance into the entry

Parameters

reader:
| Reader<unknown>
| ReadableReader
| Reader<unknown>[]
| ReadableReader[]

The Reader instance.

optional
options: ZipReaderConstructorOptions

The options.

Returns

Promise<void>