North Pittsburgh Meatpackers
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

moxie-zip

0.0.4 • Public • Published

moxie-zip

This is another zip library for node js. We decided to write our own since we had issues with the current once that exists.

It's a very simple library:

var ZipWriter = require("moxie-zip").ZipWriter;
var zip = new ZipWriter();
 
zip.addFile("myfile.txt", "./myfile.txt");
zip.addData("myfile.txt", "Hello world!");
zip.addDir("mydir");
 
zip.toBuffer(function(buf) {
});
 
zip.saveAs("my.zip", function() {
   console.log("zip written.");
});

Keywords

install

npm i moxie-zip

Downloadsweekly downloads

379

version

0.0.4

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability