PHPackages                             stuk/jszip - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. stuk/jszip

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

stuk/jszip
==========

Create, read and edit .zip files with Javascript

v3.0.1(10y ago)045.9k—4.6%1MITJavaScript

Since May 4Pushed 10y ago1 watchersCompare

[ Source](https://github.com/kamihouse/jszip)[ Packagist](https://packagist.org/packages/stuk/jszip)[ Docs](https://github.com/Stuk/jszip)[ RSS](/packages/stuk-jszip/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

JSZip [![Build Status](https://camo.githubusercontent.com/4e045441d7f265725b6ffbccfe984ae7703332060e8fe03b8126a6cefdb57791/68747470733a2f2f6170692e7472617669732d63692e6f72672f5374756b2f6a737a69702e7376673f6272616e63683d6d6173746572)](http://travis-ci.org/Stuk/jszip) [![Code Climate](https://camo.githubusercontent.com/54f4e8947c7d623396d3241904531e8b271da413fe98818f90a2f5c434e719ba/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f5374756b2f6a737a69702f6261646765732f6770612e737667)](https://codeclimate.com/github/Stuk/jszip)
=============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#jszip--)

[![Selenium Test Status](https://camo.githubusercontent.com/f4ebd02e8eb110cf39e62a4ff2a4434cd64b39cc6955da283f8bd32ef26c8e20/68747470733a2f2f73617563656c6162732e636f6d2f62726f777365722d6d61747269782f6a737a69702e737667)](https://saucelabs.com/u/jszip)

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

See  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
-------

[](#license)

JSZip is dual-licensed. You may use it under the MIT license *or* the GPLv3 license. See [LICENSE.markdown](LICENSE.markdown).

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 56.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

3666d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b25bb4e88449885be21286cb89ae72a9e9571cb54a4af592cc6fcc4f6c99c93?d=identicon)[kamihouse](/maintainers/kamihouse)

---

Top Contributors

[![dduponchel](https://avatars.githubusercontent.com/u/30335?v=4)](https://github.com/dduponchel "dduponchel (248 commits)")[![Stuk](https://avatars.githubusercontent.com/u/48019?v=4)](https://github.com/Stuk "Stuk (145 commits)")[![Mithgol](https://avatars.githubusercontent.com/u/1088720?v=4)](https://github.com/Mithgol "Mithgol (11 commits)")[![evilaliv3](https://avatars.githubusercontent.com/u/217034?v=4)](https://github.com/evilaliv3 "evilaliv3 (10 commits)")[![maxwellium](https://avatars.githubusercontent.com/u/896080?v=4)](https://github.com/maxwellium "maxwellium (3 commits)")[![edi9999](https://avatars.githubusercontent.com/u/2071336?v=4)](https://github.com/edi9999 "edi9999 (3 commits)")[![feugy](https://avatars.githubusercontent.com/u/186268?v=4)](https://github.com/feugy "feugy (3 commits)")[![calvinmetcalf](https://avatars.githubusercontent.com/u/1128607?v=4)](https://github.com/calvinmetcalf "calvinmetcalf (2 commits)")[![isochronous](https://avatars.githubusercontent.com/u/774609?v=4)](https://github.com/isochronous "isochronous (2 commits)")[![3on](https://avatars.githubusercontent.com/u/1082113?v=4)](https://github.com/3on "3on (2 commits)")[![sergio91pt](https://avatars.githubusercontent.com/u/329719?v=4)](https://github.com/sergio91pt "sergio91pt (1 commits)")[![SheetJSDev](https://avatars.githubusercontent.com/u/6070939?v=4)](https://github.com/SheetJSDev "SheetJSDev (1 commits)")[![x2764tech](https://avatars.githubusercontent.com/u/2870080?v=4)](https://github.com/x2764tech "x2764tech (1 commits)")[![aadsm](https://avatars.githubusercontent.com/u/78122?v=4)](https://github.com/aadsm "aadsm (1 commits)")[![cvrebert](https://avatars.githubusercontent.com/u/419884?v=4)](https://github.com/cvrebert "cvrebert (1 commits)")[![gztomas](https://avatars.githubusercontent.com/u/1714020?v=4)](https://github.com/gztomas "gztomas (1 commits)")[![humphd](https://avatars.githubusercontent.com/u/427398?v=4)](https://github.com/humphd "humphd (1 commits)")[![kalmi](https://avatars.githubusercontent.com/u/54426?v=4)](https://github.com/kalmi "kalmi (1 commits)")[![kamihouse](https://avatars.githubusercontent.com/u/892340?v=4)](https://github.com/kamihouse "kamihouse (1 commits)")[![kemitchell](https://avatars.githubusercontent.com/u/205760?v=4)](https://github.com/kemitchell "kemitchell (1 commits)")

---

Tags

pdfcreateeditjszip

### Embed Badge

![Health badge](/badges/stuk-jszip/health.svg)

```
[![Health](https://phpackages.com/badges/stuk-jszip/health.svg)](https://phpackages.com/packages/stuk-jszip)
```

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k87.6M278](/packages/barryvdh-laravel-dompdf)[tecnickcom/tcpdf

TCPDF is a PHP class for generating PDF documents and barcodes.

4.5k101.8M473](/packages/tecnickcom-tcpdf)[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k77.1M493](/packages/mpdf-mpdf)[knplabs/knp-snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage.

4.5k68.3M56](/packages/knplabs-knp-snappy)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M102](/packages/spatie-browsershot)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.7k34.5M216](/packages/smalot-pdfparser)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
