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 and encryption.
Go to Latest
method ZipDirectoryEntry.prototype.exportWritable
import { ZipDirectoryEntry } from "https://deno.land/x/zipjs@v2.6.27/index.js";

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

Parameters

optional
writable: WritableStream | null

The WritableStream instance.

optional
options: ZipDirectoryEntryExportOptions

The options.

Returns

A promise resolving to the Uint8Array instance.