Kind: global class
- Zipper
- .unpack(zipFilePath, targetDir) ⇒
Promise.<boolean>
- .pack(pathSource, pathZip) ⇒
Promise.<void>
- .addFile(pathFile, base) ⇒
Promise.<void>
- .addDir(pathDir, base) ⇒
Promise.<void>
- .unpack(zipFilePath, targetDir) ⇒
Unzip archive.
Kind: instance method of Zipper
Param | Type |
---|---|
zipFilePath | string |
targetDir | string |
Archived dir or file
Kind: instance method of Zipper
Param | Type |
---|---|
pathSource | string |
pathZip | string |
Add file to archive.
Kind: instance method of Zipper
Param | Type | Description |
---|---|---|
pathFile | string |
|
base | string |
Dir in archive. '' is root |
Add file to archive.
Kind: instance method of Zipper
Param | Type | Description |
---|---|---|
pathDir | string |
|
base | string |
base Dir in archive. '' is root |