adm-zip
adm-zip copied to clipboard
A Javascript implementation of zip for nodejs. Allows user to create or extract zip files both in memory or to/from disk
I have a file with filename in Chinese `主界面.png`. I add it into a zip file with adm-zip. And then with `zip.readFile(entry.entryName)`, it reports error ``` Error: invalid distance too...
I'm having a few issues with this library, and is very hard for me to see what changed from version to version if the npm and git tags don't match....
How can I compress directories, I try to compress and it ends up being empty.
Fails at zipFile.js->compressToBuffer->entry.getCompressedData() I'm using v0.4.4 of adm-zip (Ubuntu precise (12.04.4 LTS)) in a nodejs project. I find if I delete all directories that is the only way I get...
### The problem that adm-zip reads zip files takes up a lot of memory
i have zip ``` unzip -l first.zip | grep files 22527590 136448 files ``` when i tries to get entries ``` const zip = new AdmZip(path.resolve(this.zipDir, zipPath)); console.log(zipPath, 'files: ',...
I have a large file to zip but get this error. Any idea how to resolve this? ` RangeError [ERR_OUT_OF_RANGE]: The value of "value" is out of range. It must...
Hi, I've been wrestling with this issue for the last 2 hours and am convinced that I must be doing something woefully dumb. I am trying to create a zip...
Error: ``` Jerrys-MacBook-Pro:client jerrygreen$ node zip.js /Users/jerrygreen/my_project/node_modules/adm-zip/zipFile.js:66 throw Utils.Errors.INVALID_FORMAT; ^ Invalid or unsupported zip format. No END header found ``` My (simple) code: ``` const AdmZip = require('adm-zip') const zip...
Please tell me what I'm doing wrong: ` let zip = new AdmZip(pathFile); zip.deleteFile("image_.png");`