Skip to content

Latest commit

History

History
80 lines (51 loc) 路 1.98 KB

File metadata and controls

80 lines (51 loc) 路 1.98 KB

capacitor-zip-archive

Version

馃摫 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