Elestia Open Source Ratings
6.0

JSZip

Reasonable, with limits. 7th of 9 zip and compression.

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.

WebsiteGitHubnpm

Scores

Overall6.0

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 5.0, likely 4.0 to 6.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, likely 5.9 to 8.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 many4.7

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 6.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.

  • github description: Create, read and edit .zip files only
  • category scope: Zip handling is a common but occasional need

GPT-6.2 Sol: 4.3, likely 3.1 to 5.6

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 lot6.3

How well does it do the job for those who need it?

Claude Opus 5.5: 5.5, likely 4.5 to 6.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, likely 6.1 to 8.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 time4.7

Will it still be a good choice in two years?

Claude Opus 5.5: 4.0, likely 3.0 to 5.5

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, likely 4.0 to 6.8

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 widely7.9

How many use it, and is that growing?

Claude Opus 5.5: 8.0, likely 7.0 to 9.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.

  • npm downloadsLast4Weeks: 286M, up from 54.9M a year ago (ratio 5.2)
  • dependents repos: 656,894 repos and 4,459 packages
  • github stars: 10.4k stars, the most among peers

GPT-6.2 Sol: 7.8, likely 6.7 to 8.9

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.

  • dependents.repos, dependents.packages, peers: 656,894 repositories and 4,459 packages found, with high coverage relative to ZIP peers
  • npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio, peers: 286.1 million versus 54.9 million downloads, above the catalog growth baseline
  • github.stars, hackerNews, bluesky: 10,400 stars, one roadmap submission without comments, and zero tracked Bluesky links
  • github.com/exceljs/exceljs/blob/master/package.json: ExcelJS installs JSZip as a runtime dependency
Vouched for6.7

Who stands behind it being good?

Claude Opus 5.5: 6.0, likely 5.0 to 7.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, likely 6.2 to 8.4

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.

Safe6.1

How safe is it to depend on?

Claude Opus 5.5: 6.0, likely 5.0 to 7.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.

  • advisories: 2 total, 0 in last 24 months
  • scorecard score: 4.3 with several zero checks
  • npm dependencies: 4 runtime dependencies
  • security.snyk.io/package/npm/jszip: No known vulnerabilities in 3.10.2

GPT-6.2 Sol: 6.2, likely 4.9 to 7.5

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

npm downloads, 4 weeks
286M ×5.2 in a year
GitHub stars
10k
Commits, 12 months
7
npm version
3.10.2 Sept 2026
Versions, 12 months
1
Advisories, 24 months
0 of 2 ever
OpenSSF Scorecard
4.3 out of 10, Nov 2026
Licence
(MIT OR GPL-3.0-or-later)

Read on 21 November 2026 from GitHub (Stuk/jszip), npm (jszip), OSV and the OpenSSF Scorecard.

Zip and compression

  1. 7.7zip.js
  2. 7.2node-tar
  3. 6.9pako
  4. 6.9yauzl
  5. 6.8fflate
  6. 6.6Archiver
  7. 6.0JSZip
  8. 5.7unzipper
  9. 5.5ADM-ZIP
Compare all 9 on six scores