Skip to content
/ jszip Public
forked from mgechev/jszip

Create, read and edit .zip files with Javascript

License

Notifications You must be signed in to change notification settings

nLinkAS/jszip

This branch is up to date with mgechev/jszip:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8742db3 · Jul 8, 2019
Jul 3, 2019
Sep 18, 2012
Jun 17, 2019
Feb 21, 2019
Jul 3, 2019
Apr 25, 2014
Mar 23, 2016
Jan 19, 2016
Nov 19, 2013
Mar 30, 2016
Nov 5, 2017
Jul 30, 2015
Jul 2, 2019
Jul 3, 2019
Jul 3, 2019
May 16, 2016
Sep 4, 2017
Feb 2, 2016
Sep 4, 2017
Feb 21, 2019
Feb 21, 2019
Jul 8, 2019
Jul 8, 2019

Repository files navigation

JSZip Build Status Code Climate

Selenium Test Status

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.

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.

About

Create, read and edit .zip files with Javascript

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.3%
  • HTML 2.7%