archive-dir
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

archive-dir

Install

npm install archive-dir

Usage

compress a dir

let { zipDir } = require("archive-dir");
zipDir("./pathname", "./file.zip").then(handleDone).catch(handleError);

uncompress a dir

let { unzipDir } = require("archive-dir");
unzipDir("./file.zip", "./pathname").then(handleDone).catch(handleError);

Package Sidebar

Install

npm i archive-dir

Weekly Downloads

3

Version

1.0.3

License

MIT

Unpacked Size

46.3 kB

Total Files

10

Last publish

Collaborators

  • heifade