@zip.js/zip.js
    Preparing search index...

    Interface EntryMetaData

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

    interface EntryMetaData {
        comment: string;
        commentUTF8: boolean;
        compressedSize: number;
        compressionMethod: number;
        creationDate?: Date;
        directory: boolean;
        diskNumberStart: number;
        encrypted: boolean;
        executable: boolean;
        externalFileAttribute: number;
        externalFileAttributes: number;
        extraField?: Map<number, { data: Uint8Array<ArrayBuffer>; type: number }>;
        filename: string;
        filenameUTF8: boolean;
        internalFileAttribute: number;
        internalFileAttributes: number;
        lastAccessDate?: Date;
        lastModDate: Date;
        msDosCompatible: boolean;
        offset: number;
        rawComment: Uint8Array<ArrayBuffer>;
        rawCreationDate?: number | bigint;
        rawExtraField: Uint8Array<ArrayBuffer>;
        rawFilename: Uint8Array<ArrayBuffer>;
        rawLastAccessDate?: number | bigint;
        rawLastModDate: number | bigint;
        signature: number;
        uncompressedSize: number;
        version: number;
        versionMadeBy: number;
        zip64: boolean;
        zipCrypto: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    comment: string

    The comment of the entry.

    commentUTF8: boolean

    true if the comment is encoded in UTF-8.

    compressedSize: number

    The size of the compressed data in bytes.

    compressionMethod: number

    The compression method.

    creationDate?: Date

    The creation date.

    directory: boolean

    true if the entry is a directory.

    diskNumberStart: number

    The number of the disk where the entry data starts.

    encrypted: boolean

    true if the content of the entry is encrypted.

    executable: boolean

    true if the entry is an executable file

    externalFileAttribute: number

    The external file attribute (raw).

    Use EntryMetaData#externalFileAttributes instead.

    externalFileAttributes: number

    The external file attributes (raw).

    extraField?: Map<number, { data: Uint8Array<ArrayBuffer>; type: number }>

    The extra field.

    filename: string

    The filename of the entry.

    filenameUTF8: boolean

    true if the filename is encoded in UTF-8.

    internalFileAttribute: number

    The internal file attribute (raw).

    Use EntryMetaData#internalFileAttributes instead.

    internalFileAttributes: number

    The internal file attributes (raw).

    lastAccessDate?: Date

    The last access date.

    lastModDate: Date

    The last modification date.

    msDosCompatible: boolean

    true if internalFileAttributes and externalFileAttributes are compatible with MS-DOS format.

    offset: number

    The byte offset of the entry.

    rawComment: Uint8Array<ArrayBuffer>

    The comment of the entry (raw).

    rawCreationDate?: number | bigint

    The creation date (raw).

    rawExtraField: Uint8Array<ArrayBuffer>

    The extra field (raw).

    rawFilename: Uint8Array<ArrayBuffer>

    The filename of the entry (raw).

    rawLastAccessDate?: number | bigint

    The last access date (raw).

    rawLastModDate: number | bigint

    The last modification date (raw).

    signature: number

    The signature (CRC32 checksum) of the content.

    uncompressedSize: number

    The size of the decompressed data in bytes.

    version: number

    The "Version" field.

    versionMadeBy: number

    The "Version made by" field.

    zip64: boolean

    true if the entry is using Zip64.

    zipCrypto: boolean

    true if the content of the entry is encrypted with the ZipCrypto algorithm.