capacitor-zip-archive-cap6
v1.0.2
Published
Zip archive utility for capacitor
Downloads
1
Readme
capacitor-zip-archive
📱 Zip archive utility for capacitor
Install
npm install capacitor-zip-archive
npx cap sync
API
zip(...)
zip(options: ZipFileOptions) => Promise<void>
| Param | Type |
| ------------- | --------------------------------------------------------- |
| options
| ZipFileOptions |
unzip(...)
unzip(options: UnzipOptions) => Promise<void>
| Param | Type |
| ------------- | ----------------------------------------------------- |
| options
| UnzipOptions |
Interfaces
ZipFileOptions
| Prop | Type | Description |
| ------------------ | --------------------- | ------------------------- |
| srcFilePaths
| string[] | The paths of source files |
| zipFilePath
| string | The path of ZIP file |
UnzipOptions
| Prop | Type | Description |
| ----------------- | ------------------- | --------------------------------- |
| zipFilePath
| string | The path of ZIP file |
| destDirPath
| string | The path of destination directory |