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

x/gotenberg/deps/zip.ts>ZipDirectoryEntry

A gotenberg client for Deno
Latest
interface ZipDirectoryEntry
implements ZipEntry
import { type ZipDirectoryEntry } from "https://deno.land/x/gotenberg@0.4.0/deps/zip.ts";

Methods

getChildByName(name: string): ZipEntry
addDirectory(name: string): ZipDirectoryEntry
addText(name: string, text: string): ZipFileEntry
addBlob(name: string, blob: Blob): ZipFileEntry
addData64URI(name: string, dataURI: string): ZipFileEntry
addUint8Array(name: string, array: Uint8Array): ZipFileEntry
addHttpContent(
name: string,
url: string,
options?: HttpOptions,
): ZipFileEntry
addFileSystemEntry(fileSystemEntry: FileSystemEntry): Promise<ZipEntry>
importBlob(blob: Blob, options?: ZipReaderConstructorOptions): Promise<void>
importData64URI(dataURI: string, options?: ZipReaderConstructorOptions): Promise<void>
importUint8Array(array: Uint8Array, options?: ZipReaderConstructorOptions): Promise<void>
importHttpContent(url: string, options?: ZipDirectoryEntryImportHttpOptions): Promise<void>
exportBlob(options?: ZipDirectoryEntryExportOptions): Promise<Blob>
exportData64URI(options?: ZipDirectoryEntryExportOptions): Promise<string>
exportUint8Array(options?: ZipDirectoryEntryExportOptions): Promise<Uint8Array>