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.
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.
- github.com/Stuk/jszip/discussions/945: Revival is underway but early
- jsr.io/@zip-js/zip-js/2.15.0/BENCHMARKS.md: Peers are faster
- peers fflate downloads: fflate is growing faster (ratio 8.0)
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.
- stuk.github.io/jszip: Simple ZIP editing API for browsers and Node.js
- github.com/Stuk/jszip/blob/v3.10.2/index.d.ts: Bundled declarations cover the public API
- github.com/gmaclennan/zip-reader#benchmarks: fflate reads several test archives faster
- gildas-lormeau.github.io/zip.js: zip.js supports ZIP64, encryption, and worker-based compression
- dependents.repos, github.commitsLastYear, npm.versionsLastYear, peers: Large installed base alongside a slow maintenance cadence
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.
- stuk.github.io/jszip: ZIP editing and generation across browsers and Node.js
- 2025.stateofjs.com/en-US/other-tools: Runtime usage data without a ZIP tooling question
- github.com/exceljs/exceljs/blob/master/lib/xlsx/xlsx.js: Workbook loading uses JSZip
- github.com/rustfs/rustfs/issues/3375: Web console used JSZip for folder downloads
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.
- jsr.io/@zip-js/zip-js/2.15.0/BENCHMARKS.md: zip.js benchmarks show jszip slowest and highest in memory use
- github.com/Touffy/client-zip: Independent benchmark puts JSZip 3.10.1 last
- github.com/Stuk/jszip/issues/915: A user reports zip.js about 3x faster for compression
- npm hasTypes: Ships TypeScript types
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.
- stuk.github.io/jszip/documentation/api_jszip/load_async.html: Supported inputs, validation errors, and archive features
- github.com/Stuk/jszip/blob/v3.10.2/CHANGES.md: Current patch fixes Blob handling and adds missing declarations
- github.com/Stuk/jszip/blob/main/documentation/limitations.md: Explains full-result buffering and restricted ZIP64 reading
- github.com/gmaclennan/zip-reader#benchmarks: Third-party Node.js benchmarks show slower reads than fflate on several workloads
- github.com/Stuk/jszip/issues/875: User reports invalid archives above the classic ZIP size limit
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.
- github.com/Stuk/jszip/discussions/945: Roadmap: v3 fixes, then ESM v4, with no dates
- github.com/Stuk/jszip/issues/915: Unmaintained concern; new collaborator works in spare time
- github commitsLastYear: 7 commits, 0 GitHub releases
- npm latestPublishedAt: 3.10.2 published 2026-09-08
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.
- github.commitsLastYear, github.openIssues, github.openPullRequests, npm.versionsLastYear: Seven commits, 357 open issues, 35 open pull requests, and one npm release
- github.com/Stuk/jszip/blob/v3.10.2/CHANGES.md: Patch releases in August 2022 and September 2026
- github.com/Stuk/jszip/discussions/945: New maintenance help and plans for testing, triage, and release automation
- github.com/Stuk/jszip/issues/875: Large-archive bug reported in 2022 and added to the v3 milestone in 2026
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.
- exceljs/docx/pptxgenjs dependencies: Major libraries depend on jszip
- github.com/Touffy/client-zip: Alternative written because its author found JSZip lacking
- transloadit.com/devtips/create-zip-archives-in-the-browser-with-jszip: Third-party tutorial using JSZip
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.
- github.com/exceljs/exceljs/blob/master/lib/xlsx/xlsx.js: JSZip opens workbook archives in ExcelJS
- github.com/gitbrent/PptxGenJS/blob/master/src/pptxgen.ts: JSZip builds presentation archives in PptxGenJS
- github.com/mozilla/addons-server/releases: Mozilla release notes list the update to JSZip 3.10.2
- github.com/rustfs/rustfs/issues/3375: Large browser folder exports prompted a move to server-side streaming
- survey.stackoverflow.co/2026/technology: Developer survey provides no JSZip satisfaction or retention data
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.
- advisories.last24Months, scorecard: No recent advisories and weak repository security controls
- github.com/advisories/GHSA-36fh-84j7-cv5h: Path traversal fixed in 3.8.0
- github.com/advisories/GHSA-jg8v-48h5-wgxg: Prototype pollution fixed in 3.7.0 and 2.7.0
- github.com/Stuk/jszip/blob/v3.10.2/CHANGES.md: Patch dates precede the public advisory dates
- github.com/Stuk/jszip/blob/v3.10.2/package.json: Four direct dependencies and an MIT or GPL-3.0-or-later license
- stuk.github.io/jszip/documentation/contributing.html#releasing-a-new-version: Release guide documents a manual npm publish step
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.