zip.js – JavaScript Library to Zip and Unzip Files

zip.js is an open-source library (BSD license) for zipping and unzipping files using JavaScript. zip.js provides a low-level API for writing and reading large zip files (up to 4GB with File writer API).zip-fs.js provides a high-level file system API. This library works fully with Chrome, Firefox, Safari 6 and Internet Explorer 10.
Also checkout other related tutorials,

zip.js – JavaScript Library to Zip and Unzip Files