电速宝智配引擎
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
lenovo 0e857475bf 2026年04月23日上传 3 周前
..
.github/workflows 2026年04月23日上传 3 周前
dist 2026年04月23日上传 3 周前
lib 2026年04月23日上传 3 周前
vendor 2026年04月23日上传 3 周前
.codeclimate.yml 2026年04月23日上传 3 周前
.editorconfig 2026年04月23日上传 3 周前
.eslintrc.js 2026年04月23日上传 3 周前
.jekyll-metadata 2026年04月23日上传 3 周前
.travis.yml 2026年04月23日上传 3 周前
CHANGES.md 2026年04月23日上传 3 周前
LICENSE.markdown 2026年04月23日上传 3 周前
README.markdown 2026年04月23日上传 3 周前
deps.js 2026年04月23日上传 3 周前
graph.svg 2026年04月23日上传 3 周前
index.d.ts 2026年04月23日上传 3 周前
package.json 2026年04月23日上传 3 周前
sponsors.md 2026年04月23日上传 3 周前
tsconfig.json 2026年04月23日上传 3 周前

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.