1.0.6 • Published 7 years ago

folder-zip-sync-fork v1.0.6

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

folder-zip-sync

zip a folder synchronously - forked to support empty folders.

as a function

npm install --save folder-zip-sync
const zipFolder = require('folder-zip-sync')

zipFolder('./myFolder', 'myZipFile.zip', ['privateFile.txt'])
// Done!

as a command line

Install:
  npm install -g folder-zip-sync

Usage:
  folder-zip-sync [source] [output] [ignored]

Arguments:
    source: The folder you want to zip
    output: Optional. Name of the file created. Defaults to output.zip
    ignored: Optional. List of files you want to exclude. Defaults to .git
1.0.6

7 years ago

1.0.5

7 years ago