Insanely simple zipfile creator for node.js

Insanely simple zipfile creator for node.js.

Developed by Flow Pilots:


zipper = require('zipper').Zipper;

var zipfile = new zipper('/path/to/my/');
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.

You can install the latest tag via npm:

$ npm install zipper

Be sure to install libzip-devel (Fedora etc.) or libzip-dev (Ubuntu etc.) before installing on Linux.

Inspired by node-zipfile (written by Dane Springmeyer).