adm-zip icon indicating copy to clipboard operation
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

Results 169 adm-zip issues
Sort by recently updated
recently updated
newest added

Headers for marking sections just show as repeating hash marks and the following hyperlinks are shown in code.

wiki

The Wiki states that the `adm-zip` constructor can only take a file path as an argument: > The class constructor can have one or no arguments specified. If a argument...

wiki

Hello, could you please make getEntries (and potentially all other I/O operations) asynchronous? I've seem a lot of requests like this in the issue page. Not sure if it requires...

💡 feature request

how to manage the error when the file is not found ? Using admzip.addLocalFile(mynonexistingfile) throws an error but how to manage it ??

🙋 question

When Im trying to copy of contents of a directory, its copying it twice to the root zip as well as the nested folder. Example folder structure im working with:...

From the API documentation: `If you want to create a directory the entryName must end in / and a null buffer should be provided.` When typing this `zip.addFile('myDir/', null)`, I'm...

![image](https://user-images.githubusercontent.com/40878104/100435951-a5a4a780-30d9-11eb-975e-e33b2b60852b.png) ![image](https://user-images.githubusercontent.com/40878104/100435303-b56fbc00-30d8-11eb-9128-e0043ba7135b.png) zip can be decompressed to get the uncompressed file name, But using getData to get the content is 0 bytes ![image](https://user-images.githubusercontent.com/40878104/100434799-ff0bd700-30d7-11eb-9046-38295a56c020.png) ![image](https://user-images.githubusercontent.com/40878104/100435047-54e07f00-30d8-11eb-9ba7-2964c068bd9b.png)

```js fs.js:720 return binding.writeBuffer(fd, buffer, offset, length, position, req); ^ TypeError: First argument must be file descriptor at Object.fs.write (fs.js:720:20) at /Users/andrey/Work/cdn-sync/node_modules/adm-zip/util/utils.js:153:44 at FSReqWrap.oncomplete (fs.js:149:20) ``` Works fine on 0.4.11

I am using adm-zip in Express.js middleware serving a React application (created with create-react-app). A request from a client triggers the `extractAllTo` method server-side. This action strangely causes an unwanted...

Zip comment is a string and does not contain copy function! ```javascript if (_comment) { _comment.copy(mh, Utils.Constants.ENDHDR); // add zip file comment } ``` ZipFiles.js line 297