Insanely simple zipfile creator for node.js.
C++ CoffeeScript Python JavaScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
deps Tweak CFLAGS. Mar 14, 2013
examples Node 0.6.x support. Jan 26, 2012
lib Convert to a gyp-based build. Mar 14, 2013
src
test
.gitignore
.jshintrc
.travis.yml
Gruntfile.coffee
LICENSE.txt
Makefile
README.md
binding.gyp
package.json release 0.3.0 May 6, 2013

README.md

Insanely simple zipfile creator for node.js.

Build Status

Developed by Flow Pilots: http://www.flowpilots.com/

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

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

Credits

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