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
Folders zipped using this repository don't unzip properly when using this package. Any idea how to solve the issue? I am zipping up one folder that contains 3 files. It...
Only see fs.readFileSync in source code of `addFile()`, and wondering this is an I/O sync lib. I need to bundle couple of files into a zip file, wondering how to...
I tried to use extractAllTo with sync and async version, and figured https://github.com/cthackers/adm-zip/blob/83d44ba289d172535c6564a1db3304f5717f7eee/zipEntry.js#L51-L54 this block causes inconsistent behaviors between the two flows: with sync version zip can be extracted successfully,...
This Promise will waiting forever ```js const zip = new AdmZip(zipPath); const zipEntries = zip.getEntries(); for (let zipEntry of Object.values(zipEntries)) { zip.deleteFile(zipEntry.entryName); } // zipEntries.length === 0; new Promise((resolve, reject)...
I have a zip file with about a million entries and your library just reads the first 65535 entries! Please, Fix this (or provide a solution that I can use...
Hello, I've encountered the problem that i'm trying to unzip a node_modules directory that contains around 1200 folders, it does not unzip all files. Out of those 1200 folders, only...
When call extractAllTo function then got error like invalid stored block lengths ` var zip = new AdmZip("dist/data.zip")` ` zip.extractAllTo("./output/path", true);` any one solve this issue??
`extractAllTo()` is a sync function but no callback and no returns value. how to tell if a zip was unziped correctly with `extractAllTo()`? if file format is error, the program...
how do i set adm-zip to STORE rather than COMPRESS?
Package audit tools like `npm-check` complain about packages with major version `0`, and they should: https://semver.org/#spec-item-4 and https://semver.org/#spec-item-5. Is `adm-zip` ready to be `1.x`?