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

x/zipjs/index.d.ts>ZipDirectoryEntry#exportWritable

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

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

Parameters

optional
writable: WritableStream

The WritableStream instance.

optional
options: ZipDirectoryEntryExportOptions

The options.

Returns

A promise resolving to the Uint8Array instance.