Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UnzipOptions

Unzip options.

see

unzip

see

ZipFile.extractFile

see

ZipFile.extractAll

Hierarchy

  • UnzipOptions

Index

Properties

Optional ignoreAttributes

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"));

Optional password

password: string

Password for decrypting files.