Home | History | Annotate | only in /external/chromium-trace/catapult/tracing/third_party/jszip
Up to higher level directory
NameDateSize
jszip.min.js24-Aug-201673.7K
LICENSE.markdown24-Aug-201632.9K
README.chromium24-Aug-2016436
README.markdown24-Aug-2016616

README.chromium

      1 Name: JSZip
      2 Short Name: JSZip
      3 URL: https://github.com/Stuk/jszip
      4 Date: Wed Aug 28 23:10:31 EST 2013
      5 Revision: 1b5ef3c66bd676c24dd7337ca02ecc99e119e205
      6 License: LICENSE.markdown
      7 License File: MIT
      8 Security Critical: no
      9 
     10 Description:
     11 Create, read and edit .zip files with Javascript
     12 
     13 Local Modifications:
     14 I deleted the below comment from jszip-inflate.js in order to make things load
     15 correctly.
     16  //@ sourceMappingURL=rawinflate.min.js.map
     17 

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();
     18 
     19 location.href = "data:application/zip;base64," + content;
     20 /*
     21 Results in a zip containing
     22 Hello.txt
     23 images/
     24     smile.gif
     25 */
     26 ```
     27 
     28 License
     29 =======
     30 
     31 JSZip is dual-licensed. You may use it under the MIT license *or* the GPLv3
     32 license. See LICENSE.markdown.
     33