Module

x/zipjs/index.js>ZipDirectoryEntry#exportZip

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

Creates a zip file via a custom Writer instance containing the entry and its descendants

Parameters

writer:
| Writer<unknown>
| WritableStream
| AsyncGenerator<Writer<unknown> | WritableWriter | WritableStream>

The Writer instance.

The options.

Returns

Promise<unknown>

A promise resolving to the data.