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

1.0.6 • 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 @loremru/capacitor-zip

Weekly Downloads

24

Version

1.0.6

License

MIT

Unpacked Size

279 kB

Total Files

44

Last publish

Collaborators

  • loremru