tree: 9c5d2832024fca4ca08cf88b4ca52f4e5c79022a [path history] [tgz]
  1. node_modules/
  2. .npmignore
  3. index.js
  4. package.json
  5. README.md
  6. tests.js
node_modules/node-firefox-install-app/node_modules/zip-folder/README.md

node-zip-folder

zips a folder and calls your callback when it‘s done AKA: something that maybe already exists in npmjs.org, but that I couldn’t find.

Usage

var zipFolder = require('zip-folder');

zipFolder('/path/to/the/folder', '/path/to/archive.zip', function(err) {
	if(err) {
		console.log('oh no!', err);
	} else {
		console.log('EXCELLENT');
	}
});

Tests

Tests are in tests.js and built with nodeunit. Run npm test to run the tests.