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
## Description: I have encountered an issue with the 'canonical' function when dealing with filenames that contain Windows style double slash paths. ## Here is an example: My original file...
I had an issue with my CLI when used on Windows the ZIP was not readable on certain picky env like JAVA. So I created a test in GitHub action...
Modified addLocalFolder in adm-zip.js: ``` javascript addLocalFolder : function(/*String*/localPath, /*String*/zipPath, /*RegExp|Function*/filter) { if (filter === undefined) { filter = function() { return true; }; } else if (filter instanceof RegExp)...
Running v 0.4.7 I have the following zip file: ``` unzip -vl test.zip Archive: test.zip Length Method Size Cmpr Date Time CRC-32 Name -------- ------ ------- ---- ---------- ----- --------...
This is the code what I test. `var AdmZip = require('adm-zip'); var zippath = "/Volumes/DEV/Projects/TalkEnglish_Material/Packages/production/vocab.zip"; console.info("ZIPPATH:", zippath); // reading archives var zip = new AdmZip(zippath); var zipEntries = zip.getEntries(); `...
I want to remove the unnecessary files from archives, but adm-zip#deleteFile is not work and can't delete entry.
Node/Express application If we have one static ZIP with about 200MB of data (about 400 files). Static means it does not change. And we have a small ZIP about 1MB...
I get: Unable to unarchive "filename.zip" into "dest_folder". (Error 1 - Operation not permitted) When trying to auto-extract resulting archive onclick in Mac OS X.
In my test project I referenced the AdmZip as dependency direclyt form Git, so the version is basically cloned from there. Actually, I was looking for a fix of currupted...
When i create a zip file I cant unzip to windows I see hidden folder in the zip!! Any body have a solution? var AdmZip = require("adm-zip"); var zip =...