2.1.1 • Published 7 years ago

zippy-js v2.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

zippy

This module provides a zippy command that calls the native zip and unzip commands.

Global command line usage

yarn global add zippy-js
zippy destination.zip source/ [other sources...]

...

unzippy source.zip destination/

Command line usage within package.json scripts

package.json:

{
  //...
  "scripts": {
    "build" "...",
    "zip": "zippy bundle.zip source/*",
    "unzip": "unzippy bundle.zip",
    "upload": "....",
    "deploy": "npm run build && npm run zip && npm run upload"
  }
}

Programmatic usage from within Node.js

const zippy = require('zippy')

zippy.zip('./destination.zip', ['source/', 'other_soure_file.js']).then(() => {
  console.log('all done!')
})
2.1.1

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago