Module

x/zipjs/index.js>ZipDirectoryEntry#importZip

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
Go to Latest
method ZipDirectoryEntry.prototype.importZip
import { ZipDirectoryEntry } from "https://dotland.deno.dev/x/zipjs@v2.6.68/index.js";

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

Parameters

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

The Reader instance.

optional
options: ZipReaderConstructorOptions

The options.

Returns

Promise<void>