stuk/jszip
最新稳定版本:v3.0.1
Composer 安装命令:
composer require stuk/jszip
包简介
Create, read and edit .zip files with Javascript
README 文档
README
A library for creating, reading and editing .zip files with Javascript, with a lovely and simple API.
See http://stuartk.com/jszip for all the documentation.
var zip = new JSZip(); zip.file("Hello.txt", "Hello World\n"); var 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.
统计信息
- 总下载量: 42k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-05-04