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.");
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    1,196
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    1,196
  • 0.0.3
    643
  • 0.0.2
    0
  • 0.0.1
    1

Package Sidebar

Install

npm i moxie-zip

Weekly Downloads

1,566

Version

0.0.4

License

none

Last publish

Collaborators

  • spocke