1.0.0 ā¢ Published 5 months ago
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 |
Thanks