zip.js is an open-source library (BSD-3-Clause license) for zipping and unzipping files in the browser. See here for more info: https://gildas-lormeau.github.io/zip.js/