openclaw/apps/macos/Sources/Clawdis/Resources/WebChat/vendor/jszip
Peter Steinberger c5c50a2141 fix(mac): bundle web chat UI deps 2025-12-07 00:05:38 +01:00
..
.github/workflows fix(mac): bundle web chat UI deps 2025-12-07 00:05:38 +01:00
lib fix(mac): bundle web chat UI deps 2025-12-07 00:05:38 +01:00
vendor fix(mac): bundle web chat UI deps 2025-12-07 00:05:38 +01:00
.codeclimate.yml fix(mac): bundle web chat UI deps 2025-12-07 00:05:38 +01:00
.editorconfig fix(mac): bundle web chat UI deps 2025-12-07 00:05:38 +01:00
.eslintrc.js fix(mac): bundle web chat UI deps 2025-12-07 00:05:38 +01:00
.jekyll-metadata fix(mac): bundle web chat UI deps 2025-12-07 00:05:38 +01:00
.travis.yml fix(mac): bundle web chat UI deps 2025-12-07 00:05:38 +01:00
CHANGES.md fix(mac): bundle web chat UI deps 2025-12-07 00:05:38 +01:00
LICENSE.markdown fix(mac): bundle web chat UI deps 2025-12-07 00:05:38 +01:00
README.markdown fix(mac): bundle web chat UI deps 2025-12-07 00:05:38 +01:00
deps.js fix(mac): bundle web chat UI deps 2025-12-07 00:05:38 +01:00
graph.svg fix(mac): bundle web chat UI deps 2025-12-07 00:05:38 +01:00
index.d.ts fix(mac): bundle web chat UI deps 2025-12-07 00:05:38 +01:00
package.json fix(mac): bundle web chat UI deps 2025-12-07 00:05:38 +01:00
sponsors.md fix(mac): bundle web chat UI deps 2025-12-07 00:05:38 +01:00
tsconfig.json fix(mac): bundle web chat UI deps 2025-12-07 00:05:38 +01:00

README.markdown

JSZip

A library for creating, reading and editing .zip files with JavaScript, with a lovely and simple API.

See https://stuk.github.io/jszip for all the documentation.

const zip = new JSZip();

zip.file("Hello.txt", "Hello World\n");

const img = zip.folder("images");
img.file("smile.gif", imgData, {base64: true});

zip.generateAsync({type:"blob"}).then(function(content) {
    // see FileSaver.js
    saveAs(content, "example.zip");
});

/*
Results in a zip containing
Hello.txt
images/
    smile.gif
*/

License

JSZip is dual-licensed. You may use it under the MIT license or the GPLv3 license. See LICENSE.markdown.