Skip to main content
Module

x/zipjs/index.d.ts>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.43/index.d.ts";

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.