Interface: UnzipOptions
10/22/22Less than 1 minute
zip.UnzipOptions
Options for unzip and for ZipFile.extractFile / extractAll.
See also
Table of contents
Properties
Properties
ignoreAttributes
ignoreAttributes?:ZipFileAttribute[]
File attributes to strip when writing extracted entries to disk (for example "hidden", "system"). Default: none (empty array).
Example
const { unzip } = require("zip");
unzip("test.zip", "./dest", { ignoreAttributes: ["hidden", "system"] })
.then(() => console.log("unzip success"));password
password?:string
Password for encrypted archives. Required when entries are AES / ZipCrypto protected.
