https://github.com/rubenv/zipper
Insanely simple zipfile creator for node.js.
https://github.com/rubenv/zipper
Last synced: 12 months ago
JSON representation
Insanely simple zipfile creator for node.js.
- Host: GitHub
- URL: https://github.com/rubenv/zipper
- Owner: rubenv
- License: other
- Created: 2011-09-13T09:36:33.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2013-05-06T11:34:59.000Z (about 13 years ago)
- Last Synced: 2025-04-02T06:43:12.688Z (over 1 year ago)
- Language: C++
- Homepage: http://savanne.be/445-zipper-an-insanely-simple-zipfile-creator-for-node-js
- Size: 638 KB
- Stars: 33
- Watchers: 4
- Forks: 6
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Insanely simple zipfile creator for node.js.
[](https://travis-ci.org/rubenv/zipper)
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).