Module

x/zipjs/index.js>ZipWriter#close

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

Writes the entries directory, writes the global comment, and returns the content of the zip file

Parameters

optional
comment: Uint8Array

The global comment of the zip file.

optional
options: ZipWriterCloseOptions

The options.

Returns

Promise<Type>

The content of the zip file.