4 A library for creating, reading and editing .zip files with Javascript, with a
7 See http://stuartk.com/jszip for all the documentation.
10 var zip = new JSZip();
12 zip.file("Hello.txt", "Hello World\n");
14 var img = zip.folder("images");
15 img.file("smile.gif", imgData, {base64: true});
17 var content = zip.generate({type:"blob"});
20 saveAs(content, "example.zip");
23 Results in a zip containing
33 [![Build Status](https://api.travis-ci.org/Stuk/jszip.svg?branch=master)](http://travis-ci.org/Stuk/jszip)
35 [![Selenium Test Status](https://saucelabs.com/browser-matrix/jszip.svg)](https://saucelabs.com/u/jszip)
40 JSZip is dual-licensed. You may use it under the MIT license *or* the GPLv3
41 license. See [LICENSE.markdown](LICENSE.markdown).