@ev-fns/gzip
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

@ev-fns/gzip

Async gzip file

  • gzip (source: string, destination = source + ".gz") => Promise<void>

Install

yarn add @ev-fns/gzip

Usage

const { gzip } = require("@ev-fns/gzip");

const filename = "./backup_file";

gzip(filename).then(() => {
  console.log("gzip finished");
});

Package Sidebar

Install

npm i @ev-fns/gzip

Weekly Downloads

1

Version

0.1.6

License

MIT

Unpacked Size

1.9 kB

Total Files

4

Last publish

Collaborators

  • eliseuvideira