JSZip is a library for creating, reading and editing .zip files with Javascript, with a lovely and simple API.
Website Demo