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.7.52/index.js";

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

Parameters

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

The Reader instance.

The options.

Returns

Promise<[ZipEntry]>