# JSZip: 6.0 out of 10

Reasonable, with limits. 7th of 9 in [Zip and compression](https://elestia.ai/opensource/compression/index.md).

JSZip is the long-standing, easy-to-use library for creating, reading and editing zip files in the browser and Node. It is still very widely installed, but it is slow, holds whole archives in memory, and maintenance has only just restarted, after about four years with no release, through one part-time collaborator. For new work, fflate or zip.js is usually the better pick, unless you need JSZip's simple API or compatibility with libraries built on it.

**Best for:** Projects that make or edit small-to-medium zip files with a simple, well-known API in both the browser and Node.

## Scores

- **Overall: 6.0** (likely 5.0 to 7.0)
  - Claude Opus 5.5 (5.0): JSZip works and is familiar, but it is slower and uses more memory than fflate and zip.js, and its maintenance is fragile even after the 2026 patch. It remains reasonable for small archives or where dependent libraries already use it. Pick a peer for new projects that handle large files or need streaming.
  - GPT-6.2 Sol (7.0): JSZip is a strong pick when a new app needs to read, edit, and generate modest ZIP archives through one typed API. For heavier ZIP workloads, fflate is faster in several benchmarks and zip.js supports large ZIP64 archives and encryption. Proven downstream use supports the recommendation, while the slow release cadence limits confidence in future fixes.
- **Needed by many: 4.7** (likely 3.6 to 5.8)
  - Claude Opus 5.5 (5.0): Many web and Node apps need to make or read zip files at some point, for example for exports, downloads or Office documents. Still, it is a specific job, not something most projects need. JSZip covers zip only (no tar) but runs in both the browser and Node.
  - GPT-6.2 Sol (4.3): ZIP handling comes up in downloads, uploads, document tooling, and file utilities. Browser and Node.js support make JSZip useful across frameworks, but its API is limited to ZIP archives. Developer surveys establish how widely those runtimes are used and give little evidence about how often projects need ZIP handling.
- **Helps a lot: 6.3** (likely 5.3 to 7.3)
  - Claude Opus 5.5 (5.5): The API is simple and complete for everyday zip work, with good docs and bundled types, and AI agents know it well. But it buffers whole files in memory and is the slowest library in several benchmarks. It also lacks encryption and real streaming reads. fflate and zip.js do the same job faster and with streaming.
  - GPT-6.2 Sol (7.1): The documented promise API and bundled types give developers and coding agents a clear path through common ZIP tasks. The 3.10.2 patch fixes Node.js Blob handling and fills a gap in the declarations. Full-result buffering, limited ZIP64 support, and missing encryption narrow the workloads it can handle. A comparative Node.js benchmark found fflate faster on several read workloads, with the gap varying by archive.
- **Holds up over time: 4.7** (likely 3.5 to 6.2)
  - Claude Opus 5.5 (4.0): There was no release from 2022 until 3.10.2 in September 2026. A collaborator took over in 2025 and published a v3/v4/v5 roadmap, but works on it in spare time. There were 7 commits last year, 357 open issues and no funding. Peers such as zip.js and node-tar are far more active.
  - GPT-6.2 Sol (5.4): The September 2026 patch ended a four-year release gap, and a second contributor has stepped in to help maintain the project. Seven commits in a year, 357 open issues, and a longstanding ZIP64 bug still point to slow upkeep. The 3.x API has been stable, but publishing capacity and the pace of the modernization plan remain unclear.
- **Used widely: 7.9** (likely 6.9 to 9.0)
  - Claude Opus 5.5 (8.0): It has 286M downloads per 4 weeks and about 657k dependent repositories, among the most in the category. Its year-over-year ratio of 5.2 is above the 4.1 median. Many of those downloads come in through Office-file libraries such as exceljs and docx, not from direct choice.
  - GPT-6.2 Sol (7.8): Ecosyste.ms found about 657,000 dependent repositories, close to ADM-ZIP and far ahead of fflate. Four-week downloads grew 5.21 times year over year, above the 4.1 catalog median and behind fflate's 8.04. Downstream libraries and automated installs contribute to the download count, and sparse social activity gives little independent evidence about new adoption.
- **Vouched for: 6.7** (likely 5.6 to 7.7)
  - Claude Opus 5.5 (6.0): Widely used libraries (exceljs, docx, pptxgenjs, selenium-webdriver) build on it, and it has run in production for over a decade. Current independent write-ups, however, mostly recommend faster alternatives, and it does not appear in surveys.
  - GPT-6.2 Sol (7.3): ExcelJS uses it to load spreadsheets, PptxGenJS uses it to write presentations, and Mozilla's add-ons server shipped a dependency update to 3.10.2. Those are concrete downstream commitments. Survey evidence gives little insight into satisfaction, and reports from large-archive users show where that track record stops carrying much weight.
- **Safe: 6.1** (likely 5.0 to 7.3)
  - Claude Opus 5.5 (6.0): It has two moderate advisories (prototype pollution in 2021, path traversal in 2023), both fixed, and none in the last 24 months. The OpenSSF Scorecard is 4.3, with zeros for token permissions, pinned dependencies, security policy and SAST. It pulls in four old dependencies. The dual MIT or GPL licence is permissive through MIT.
  - GPT-6.2 Sol (6.2): The two known moderate advisories were patched before their public advisory dates, and the collector found none published in the past two years. JSZip has four direct dependencies, including pako 1.x, and offers a permissive MIT license alongside GPL-3.0-or-later. Its 4.3 OpenSSF Scorecard shows weak workflow permissions and dependency pinning, with zero scores for fuzzing and a security policy. The release guide describes manual npm publishing, and the number of authorized publishers remains unverified.

## Good

- Simple, well-documented API for adding, reading and editing zip entries; AI coding agents write correct JSZip code easily.
- Works the same in browsers and Node, and ships its own TypeScript types.
- A huge installed base: libraries such as exceljs, docx and pptxgenjs build on it, so it is well tested in practice.
- Dual MIT or GPL-3.0 licence; the MIT option allows any commercial use.

## Bad

- Holds the whole archive in memory and is among the slowest options in benchmarks, so it fits large files poorly.
- From August 2022 to 2026 it had no release, and today a single collaborator maintains it in spare time with hundreds of open issues.
- Relies on old dependencies (pako, lie, readable-stream 2, setimmediate) and has a weak OpenSSF Scorecard of 4.3.
- No tar support or streaming extraction, and the planned ESM v4 has no date.

## The numbers

- Downloads, 4 weeks: 286M
- In a year: ×5.2
- GitHub stars: 10k
- Commits, 12 months: 7
- Last npm release: Sept 2026
- Advisories, 24 months: 0
- Licence: (MIT OR GPL-3.0-or-later)
- GitHub: https://github.com/Stuk/jszip
- npm: https://www.npmjs.com/package/jszip

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
