Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.
Go to Latest
method ZipWriterStream.prototype.close
import { ZipWriterStream } from "https://deno.land/x/zipjs@v2.7.40/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.