nfriedly / node-bestzip

Provides a `bestzip` command that uses the system `zip` if avaliable, and a Node.js implimentation otherwise.
MIT License
80 stars 16 forks source link

Include option to add file to existing ZIP #60

Open Ecksters opened 1 year ago

Ecksters commented 1 year ago

Would love an option to add new files to an existing ZIP file.

nfriedly commented 1 year ago

Yeah, that's not a bad idea. Is the behavior consistent across various zip implementations? If so, would you be willing to code it up along with some tests?

Ecksters commented 1 year ago

One issue I see is that Archiver doesn't appear to support it, so we'd potentially need to change the library used for fallback.

The native zip options pretty much universally support it.