3.10.1 • Published 3 years ago
jszip v3.10.1
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.
2.7.0
3 years ago
3.10.1
3 years ago
3.10.0
3 years ago
3.9.1
3 years ago
3.9.0
3 years ago
3.8.0
3 years ago
3.7.1
4 years ago
3.7.0
4 years ago
3.6.0
4 years ago
3.6.0-0
4 years ago
3.5.0
5 years ago
3.4.0
5 years ago
3.3.0
5 years ago
3.2.2
6 years ago
3.2.1
6 years ago
3.2.0
6 years ago
3.1.5
8 years ago
3.1.4
8 years ago
3.1.3
9 years ago
3.1.2
9 years ago
3.1.1
9 years ago
3.1.0
9 years ago
2.6.1
9 years ago
3.0.0
9 years ago
2.6.0
9 years ago
2.5.0
10 years ago
2.4.0
11 years ago
2.3.0
11 years ago
2.2.2
11 years ago
2.2.1
11 years ago
2.2.0
11 years ago
2.1.1
11 years ago
2.1.0
11 years ago
2.0.0
11 years ago
0.2.1
12 years ago
0.2.0
12 years ago
0.1.1
12 years ago
0.1.0
12 years ago