CoolFace
Apppublic

TrinetraLabs/Placebo_AI

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes
README.markdown34 linesDownload Raw Back to jszip
1JSZip2=====3 4A library for creating, reading and editing .zip files with JavaScript, with a5lovely and simple API.6 7See https://stuk.github.io/jszip for all the documentation.8 9```javascript10const zip = new JSZip();11 12zip.file("Hello.txt", "Hello World\n");13 14const img = zip.folder("images");15img.file("smile.gif", imgData, {base64: true});16 17zip.generateAsync({type:"blob"}).then(function(content) {18    // see FileSaver.js19    saveAs(content, "example.zip");20});21 22/*23Results in a zip containing24Hello.txt25images/26    smile.gif27*/28```29License30-------31 32JSZip is dual-licensed. You may use it under the MIT license *or* the GPLv333license. See [LICENSE.markdown](LICENSE.markdown).34