@ev-fns/gzip
v0.1.6
Published
Async gzip file
Downloads
11
Maintainers
Readme
@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");
});