Module

x/zipjs/index.js>EntryMetaData

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
Go to Latest
interface EntryMetaData
import { type EntryMetaData } from "https://dotland.deno.dev/x/zipjs@v2.7.42/index.js";

Represents the metadata of an entry in a zip file (Core API).

Properties

offset: number

The byte offset of the entry.

filename: string

The filename of the entry.

rawFilename: Uint8Array

The filename of the entry (raw).

filenameUTF8: boolean

true if the filename is encoded in UTF-8.

directory: boolean

true if the entry is a directory.

encrypted: boolean

true if the content of the entry is encrypted.

compressedSize: number

The size of the compressed data in bytes.

uncompressedSize: number

The size of the decompressed data in bytes.

lastModDate: Date

The last modification date.

optional
lastAccessDate: Date

The last access date.

optional
creationDate: Date

The creation date.

rawLastModDate: number | bigint

The last modification date (raw).

optional
rawLastAccessDate: number | bigint

The last access date (raw).

optional
rawCreationDate: number | bigint

The creation date (raw).

comment: string

The comment of the entry.

rawComment: Uint8Array

The comment of the entry (raw).

commentUTF8: boolean

true if the comment is encoded in UTF-8.

signature: number

The signature (CRC32 checksum) of the content.

optional
extraField: Map<number, Uint8Array>

The extra field.

rawExtraField: Uint8Array

The extra field (raw).

zip64: boolean

true if the entry is using Zip64.

version: number

The "Version" field.

versionMadeBy: number

The "Version made by" field.

msDosCompatible: boolean

true if internalFileAttribute and externalFileAttribute are compatible with MS-DOS format.

internalFileAttribute: number

The internal file attribute (raw).

externalFileAttribute: number

The external file attribute (raw).

diskNumberStart: number

The number of the disk where the entry data starts.