Implemented URL query parsing for initial token /opa/?token=abcde
[src/app-framework-demo.git] / afb-client / bower_components / jszip / README.markdown
1 JSZip
2 =====
3
4 A library for creating, reading and editing .zip files with Javascript, with a
5 lovely and simple API.
6
7 See http://stuartk.com/jszip for all the documentation.
8
9 ```javascript
10 var zip = new JSZip();
11
12 zip.file("Hello.txt", "Hello World\n");
13
14 var img = zip.folder("images");
15 img.file("smile.gif", imgData, {base64: true});
16
17 var content = zip.generate({type:"blob"});
18
19 // see FileSaver.js
20 saveAs(content, "example.zip");
21
22 /*
23 Results in a zip containing
24 Hello.txt
25 images/
26     smile.gif
27 */
28 ```
29
30 Test status
31 -----------
32
33 [![Build Status](https://api.travis-ci.org/Stuk/jszip.svg?branch=master)](http://travis-ci.org/Stuk/jszip)
34
35 [![Selenium Test Status](https://saucelabs.com/browser-matrix/jszip.svg)](https://saucelabs.com/u/jszip)
36
37 License
38 -------
39
40 JSZip is dual-licensed. You may use it under the MIT license *or* the GPLv3
41 license. See [LICENSE.markdown](LICENSE.markdown).