I need to create a ZIP file in node.js, protected by a password.
I am using \"node-zip\" module, that unfortunately doesn\'t support password protection:
<
I had the same issue and couldn't find the package to do it, so I've written one on my own, as a plugin to archiver package. Pure JS, no external zip software needed.
Here it is - https://www.npmjs.com/package/archiver-zip-encrypted. Supports both legacy Zip 2.0 encryption and AES-256 encryption from WinZip.