pizzip

Create, read and edit .zip files synchronously with Javascript

pizzip downloads pizzip version pizzip license

pizzip类似的npm包:

npm下载趋势

3 年
🌟 在 pizzip 的 README.md 中显示实时使用量图表,只需复制下面的代码。
## Usage Trend
[![Usage Trend of pizzip](https://npm-compare.com/img/npm-trend/THREE_YEARS/pizzip.png)](https://npm-compare.com/pizzip#timeRange=THREE_YEARS)

Cumulative GitHub Star Trend

🌟 在 pizzip 的 README.md 中显示 GitHub stars 趋势图表,只需复制下面的代码。
## GitHub Stars Trend
[![GitHub Stars Trend of pizzip](https://npm-compare.com/img/github-trend/pizzip.png)](https://npm-compare.com/pizzip)

统计详情

npm包名称
下载量
Stars
大小
Issues
发布时间
License
pizzip301,83059583 kB010 个月前(MIT OR GPL-3.0)

pizzip的README

PizZip

PizZip is a fork of JSZip version 2.x, because we want a synchronous Zip library.

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

var zip = new PizZip();

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

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

var content = zip.generate({ type: "blob" });

// see FileSaver.js
saveAs(content, "example.zip");

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

License

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