Interface: UnzipOptions


CloudControl Pro 9 Docs / zip / UnzipOptions

Interface: UnzipOptions

zip.UnzipOptions

Unzip options.

See

Table of contents

Properties

Properties

ignoreAttributes

Optional ignoreAttributes: ZipFileAttribute[]

File attributes to ignore when writing files to disk. Default is empty.

Example

const { unzip } = require("zip");
unzip("test.zip", "./dest", { ignoreAttributes: ["hidden", "system"] })
  .then(() => console.log("unzip success"));

password

Optional password: string

Password for decrypting files.