0.0.4 • Published 1 year ago

@smart-pro/smartzip v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@smart-pro/smartzip

Ionic Capacitor plugin for unzip a file.

Install

npm install @smart-pro/smartzip
npx cap sync

API

unzip(...)

unzip(options: UnzipOptions) => Promise<{ result: boolean; }>

Unzip a zipPath file to destFolder. Event: "unzipProgress" entry, entryNumber, total

ParamTypeDescription
optionsUnzipOptionsoptions for unzip

Returns: Promise<{ result: boolean; }>


Interfaces

UnzipOptions

PropTypeDescription
zipPathstringZip file's path
destFolderstringDestination folder's path
0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago