0.3.0 • Published 12 years ago
zipper v0.3.0
Insanely simple zipfile creator for node.js.
Usage
zipper = require('zipper').Zipper;
var zipfile = new zipper('/path/to/my/zipfile.zip');
zipfile.addFile('myfile.txt', '/path/to/myfile.txt', function (err) {
if (err) throw err;
// Do stuff
});
The zip file will be created if it does not exist already.
Installation
You can install the latest tag via npm:
$ npm install zipper
Or install from github master:
$ git clone git://github.com/rubenv/zipper.git
$ cd zipper
$ ./configure
$ make
$ make install
TODO
Integrate back into node-zipfile. This was not done in the first place as we needed a fix fast.
Credits
Inspired by node-zipfile (written by Dane Springmeyer).