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

x/zipjs/index.js>ZipWriter#close

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

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

Parameters

comment: Uint8Array | null | undefined

The global comment of the zip file.

optional
options: ZipWriterCloseOptions

The options.

Returns

Promise<Type>

The content of the zip file.