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

x/zipjs/index.js>ZipDirectoryEntry#exportWritable

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

Creates a zip file via a WritableStream instance containing the entry and its descendants

Parameters

optional
writable: WritableStream

The WritableStream instance.

optional
options: ZipDirectoryEntryExportOptions

The options.

Returns

A promise resolving to the Uint8Array instance.