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

x/zipjs/index.js>ZipWriterStream#close

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

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

Parameters

optional
comment: Uint8Array

The global comment of the zip file.

optional
options: ZipWriterCloseOptions

The options.

Returns

Promise<unknown>

The content of the zip file.