thejoshwolfe / yazl

yet another zip library for node
MIT License
329 stars 44 forks source link

Allow adding pre-deflated buffers #55

Closed ijjk closed 3 years ago

ijjk commented 5 years ago

Hi, awesome module! While using this module we ended up needing the ability to add already deflated buffers to a zip file to decrease compression time. This module is already very performant and adding this ability makes it even more so since it gives the ability to pre-deflate common files that will be added to multiple zip files and then just append them.

It would be great to add this functionality to allow others to utilize it also. Let me know if there's anything that needs changing. I can also send a PR updating the types if this is accepted.