capacitor-zip
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Capacitor Zip

npm npm Build Status

Installation

  • npm i capacitor-zip

Usage

import { Zip } from 'capacitor-zip';
const zip = new Zip();
 
await zip.zip({
    source : source,
    destination: destination,
    keepParent: true, // Optional default true
    password: 'password', // Optional
},(progress)=>{});
 
await zip.unZip({
    source : source,
    destination: destination,
    overwrite: true, // Optional default true
    password: 'password', // Optional
},(progress)=>{});
 

Readme

Keywords

Package Sidebar

Install

npm i capacitor-zip

Weekly Downloads

51

Version

1.0.4

License

MIT

Unpacked Size

279 kB

Total Files

46

Last publish

Collaborators

  • triniwiz