Module

x/zipjs/index.js>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://dotland.deno.dev/x/zipjs@v2.7.42/index.js";

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

Methods

optional
getData<Type>(writer:
| Writer<Type>
| WritableStream
| 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.