kzip

1.0.0 • Public • Published

kzip

Base on node zip to make dist file zipped!

Problem to be solved

Commonly, we build our webapp we got a lot of change in git panel which is easy to neglect an unexpected change.

So I use this to zip the dist file which make the change clear and relax.

Centainly you need server maintenance side to unziping the dist.zip autoly.

Usage

kzip({
    source: 'dist/*',
    destination: './dist.zip'
}).then(function () {
    console.log('zipped!');
}).catch(function (err) {
    console.error(err.stack);
    process.exit(1);
});

Lincense

ISC

Readme

Keywords

Package Sidebar

Install

npm i kzip

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

4.62 kB

Total Files

6

Last publish

Collaborators

  • hawtim