ken_nogi/NodeJS/JigyoKeikakuUpdate/node_modules/jszip
Kenichiro NOGI 7b357fa2cf 2025-11-08
2025-11-08 10:26:52 +09:00
..
.github/workflows 2025-11-08 2025-11-08 10:26:52 +09:00
dist 2025-11-08 2025-11-08 10:26:52 +09:00
lib 2025-11-08 2025-11-08 10:26:52 +09:00
vendor 2025-11-08 2025-11-08 10:26:52 +09:00
.codeclimate.yml 2025-11-08 2025-11-08 10:26:52 +09:00
.editorconfig 2025-11-08 2025-11-08 10:26:52 +09:00
.eslintrc.js 2025-11-08 2025-11-08 10:26:52 +09:00
.jekyll-metadata 2025-11-08 2025-11-08 10:26:52 +09:00
.travis.yml 2025-11-08 2025-11-08 10:26:52 +09:00
CHANGES.md 2025-11-08 2025-11-08 10:26:52 +09:00
deps.js 2025-11-08 2025-11-08 10:26:52 +09:00
graph.svg 2025-11-08 2025-11-08 10:26:52 +09:00
index.d.ts 2025-11-08 2025-11-08 10:26:52 +09:00
LICENSE.markdown 2025-11-08 2025-11-08 10:26:52 +09:00
package.json 2025-11-08 2025-11-08 10:26:52 +09:00
README.markdown 2025-11-08 2025-11-08 10:26:52 +09:00
sponsors.md 2025-11-08 2025-11-08 10:26:52 +09:00
tsconfig.json 2025-11-08 2025-11-08 10:26:52 +09:00

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.