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

x/zipjs/index.d.ts>Entry

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
Go to Latest
interface Entry
implements EntryMetaData
import { type Entry } from "https://deno.land/x/zipjs@v2.7.23/index.d.ts";

Represents an entry with its data and metadata in a zip file (Core API).

Methods

optional
getData<Type>(writer:
| Writer<Type>
| WritableWriter
| AsyncGenerator<Writer<unknown> | WritableWriter | WritableStream, boolean>
, options?: EntryGetDataOptions
): Promise<Type>

Returns the content of the entry

optional
getData(writer: undefined | null, options: EntryGetDataCheckPasswordOptions): Promise<void>

Tests if the password is valid.