zip.js
A strong pick. 1st of 9 zip and compression.
zip.js is a zero-dependency ZIP reader and writer built on web streams. It runs in browsers, Deno, Bun and Node and supports Zip64, AES encryption, split archives and pluggable codecs. It is one of the strongest picks today for large or encrypted archives. It is maintained very actively, mostly by one person, and its API is more verbose than JSZip's.
Best for: Projects that must stream large, encrypted or Zip64 archives in the browser or in any JS runtime.
Scores
Overall7.7
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
For ZIP work that needs streaming, Zip64 or encryption, it is the most capable and most actively maintained choice in the category, ahead of JSZip, which is nearly idle and buffers whole files in memory. fflate is lighter and faster for simple in-memory cases. Reliance on one maintainer and frequent small breaking changes keep it below the top.
- peers JSZip commitsLastYear: JSZip had 7 commits against 1,053 for zip.js
- jsr.io/@zip-js/zip-js/2.15.0/BENCHMARKS.md: Competitive speed; fflate wins on small files
- github.com/gildas-lormeau/zip.js/releases: Fast release cadence with behaviour changes
GPT-6.2 Sol: 7.9, likely 6.8 to 8.9
zip.js earns a strong recommendation for new projects that need large, encrypted, or split ZIP archives across runtimes. It covers features outside JSZip's documented limits, while fflate has an edge on many small files in the available benchmark. Upgrade breakage, limited release ownership, and slower adoption growth than the leading ZIP peers keep it below a category-wide default.
- github.com/gildas-lormeau/zip.js/blob/v2.25.0/README.md: Current stable release covers the advanced ZIP workflows.
- stuk.github.io/jszip/documentation/limitations.html: JSZip documents limits on encrypted, split, and large ZIP64 archives.
- github.com/gildas-lormeau/zip.js/blob/v2.25.0/BENCHMARKS.md: fflate leads the many-small-files workload in the maintainer benchmark.
- github.com/CesiumGS/cesium/issues/12880: A real downstream build broke on a minor update.
- peers, dependents, medianDownloadsRatio: Smaller indexed adoption and growth just below the catalog baseline.
Needed by many5.0
How many developers need a tool for this job?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
Many web and Node projects need to make or read zip files at some point, but it is not a need in most projects. zip.js covers ZIP only, not tar, though it works on every runtime. That puts it in a sizeable but not universal group.
- category.job: The category covers zip, tar and compression; zip.js does ZIP only
- raw.githubusercontent.com/gildas-lormeau/zip.js/master/README.md: Runs in browsers, Deno, Bun and Node
GPT-6.2 Sol: 4.5, likely 3.4 to 5.7
ZIP imports and exports come up in web apps, file tools, and developer tooling. zip.js works across modern browsers, Node.js, Deno, and Bun, but its archive support is focused on ZIP, leaving tar and standalone compression to other tools. The share of developers who need a dedicated ZIP library is hard to measure.
- gildas-lormeau.github.io/zip.js: Documents ZIP features and compatibility across four runtime families.
- category job: The category also covers tar and standalone data compression.
Helps a lot8.3
How well does it do the job for those who need it?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
It is the most complete ZIP toolkit among the peers: streaming, Zip64, AES, split files, native CompressionStream and workers. Benchmarks show it fast and memory-safe on large files, while fflate wins on many small files. The API is verbose, and users have reported slow cases with very many entries and errors that do not reach the streams.
- jsr.io/@zip-js/zip-js/2.15.0/BENCHMARKS.md: Matches archiver when streaming 256 MB, fastest decompression of a 20 MB file, slower than fflate on 5,000 small files
- gist.github.com/rxliuli/468bf4c0c3037de5171e16636dffa0c3: A user moved from jszip (failed on large files) and fflate (no encryption) to zip.js
- github.com/gildas-lormeau/zip.js/discussions/387: Slow performance reported with 75,000+ entries
- npm hasTypes: Ships its own TypeScript types
GPT-6.2 Sol: 8.5, likely 7.4 to 9.5
Version 2.25.0 handles ZIP64, split archives, AES, and incremental writing, with documented TypeScript APIs for both simple and advanced use. Its archive reader buffers a sequential input before emitting entries, and fflate led the project's tests with many small files. Runtime and codec choices can change performance substantially, and independent tests of the current release are scarce.
- github.com/gildas-lormeau/zip.js/blob/v2.25.0/README.md: Shows supported formats, ZipFS, and stream examples.
- github.com/gildas-lormeau/zip.js/releases/tag/v2.25.0: Documents stream fixes and more accurate TypeScript declarations.
- gildas-lormeau.github.io/zip.js/api/classes/ZipReaderStream.html: Confirms whole-input buffering for sequential streams.
- github.com/gildas-lormeau/zip.js/blob/v2.25.0/BENCHMARKS.md: Maintainer benchmarks favor fflate for many small entries.
- github.com/gildas-lormeau/zip.js/discussions/635: A user's tests found different worker gains in Chrome and Node.js.
Holds up over time7.2
Will it still be a good choice in two years?
Claude Opus 5.5: 7.0, likely 5.5 to 8.5
Maintenance is very active: 1,053 commits and 75 releases in the last year, zero open issues, and a project started in 2011. The risks are that it rests mostly on one maintainer and that minor versions often carry small breaking changes.
- github commitsLastYear: 1,053 commits
- github releasesLastYear: 75 releases
- github openIssues: 0 open, 399 closed
- github.com/gildas-lormeau/zip.js/releases: Minor releases remove options and change return types
GPT-6.2 Sol: 7.4, likely 6.1 to 8.6
The snapshot records 75 releases and 1,053 commits in a year, well ahead of the listed peers, and a reported ZIP64 compatibility bug received a fix within two days. Recent releases are concentrated around one maintainer, and funding and backup release ownership are unclear. CesiumJS reported a broken build after a minor upgrade, which lowers confidence in future upgrades.
- github releasesLastYear, github commitsLastYear, peers commitsLastYear: 75 releases and more commits than any listed peer.
- github.com/gildas-lormeau/zip.js/releases: Recent releases repeatedly come from the same maintainer.
- github.com/gildas-lormeau/zip.js/issues/625: A reported ZIP64 compatibility issue was fixed in two days.
- github.com/CesiumGS/cesium/issues/12880: CesiumJS reported a build break after the 2.8.0 upgrade.
Used widely4.4
How many use it, and is that growing?
Claude Opus 5.5: 5.0, likely 4.0 to 6.5
About 34M downloads in 4 weeks, with a year-over-year ratio of 4.06, almost exactly the 4.1 median, so its share is flat. ecosyste.ms counts 807 dependent repos, far below JSZip, ADM-ZIP and fflate, which suggests that much of the download volume comes from transitive installs.
- npm downloadsLast4Weeks: 34.4M, against 8.5M a year earlier (ratio 4.06)
- dependents: 807 repos and 119 packages, far below peers
- github stars: 3.9k stars
GPT-6.2 Sol: 3.7, likely 2.5 to 5.1
Four-week downloads rose from 8.47 million to 34.42 million, or 4.06 times the prior year, just below the catalog's 4.1 times baseline. Downloads grew faster for JSZip and fflate. ecosyste.ms found 807 dependent repositories and 119 packages, well below those peers' repository counts. Scoped-package coverage and automated installs leave the number of direct choices uncertain.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: Download growth narrowly trails the catalog baseline.
- dependents, peers: 807 indexed repositories versus 25,723 for fflate and 656,894 for JSZip.
- github stars, hackerNews stories, bluesky posts: 3,915 stars and no matched Hacker News stories or Bluesky posts.
Vouched for6.1
Who stands behind it being good?
Claude Opus 5.5: 5.0, likely 3.5 to 6.5
Comparison write-ups and user reports recommend it for large and encrypted archives, and it is published on JSR with provenance. The benchmarks come from the project itself, and there is no Hacker News or Bluesky attention and no survey presence. Well-known production users are not clearly documented.
- jsr.io/@zip-js/zip-js/2.15.0/BENCHMARKS.md: Benchmarks are self-published
- best-of-web.builder.io/library/gildas-lormeau/zip.js: A third-party comparison lists it next to JSZip and fflate
- hackerNews / bluesky: Zero stories and zero posts
GPT-6.2 Sol: 7.1, likely 5.9 to 8.3
CesiumJS uses zip.js to open KMZ files, and Microsoft's Playwright uses it to open trace archives. Playwright pins an earlier version, and the independent head-to-head benchmark covers an older release and only uncompressed ZIP creation. Evidence for the latest release across production workloads is thinner.
- github.com/CesiumGS/cesium/blob/main/packages/engine/Source/DataSources/KmlDataSource.js: CesiumJS imports ZipReader in its KML and KMZ loader.
- github.com/microsoft/playwright/blob/main/packages/trace-viewer/src/sw/traceLoaderBackends.ts: Playwright uses zip.js in the Trace Viewer.
- github.com/microsoft/playwright/blob/main/package.json: Playwright pins zip.js 2.7.73.
- github.com/Touffy/client-zip/blob/master/README.md: A competing library benchmarks older zip.js on uncompressed ZIP creation.
Safe6.7
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.5
It has zero dependencies, no advisories ever, and a permissive BSD-3 licence. Recent releases harden parsing of untrusted archives. The OpenSSF Scorecard is weak at 3.9: no code review, no branch protection, no security policy and broad token permissions, with releases resting on one person.
- advisories total: 0 advisories
- npm dependencies: 0 dependencies
- scorecard score: 3.9; Code-Review, Branch-Protection and Security-Policy all 0
- jsr.io/@zip-js/zip-js@2.25.0: JSR build signed on GitHub Actions
GPT-6.2 Sol: 6.4, likely 5.2 to 7.6
The BSD-3-Clause package has zero runtime dependencies, and GitHub Actions verifies tests before publishing to npm with provenance. OSV lists no advisories in the snapshot, and the release notes record a fix for a filename validation flaw. The 3.9 OpenSSF Scorecard shows gaps in branch protection, code review, and workflow token permissions, and GitHub shows no security policy. Applications still enforce extraction limits, and the number of people who can trigger a release is unclear.
- npm dependencies, npm license, advisories: Zero runtime dependencies, BSD-3-Clause, and zero recorded OSV advisories.
- scorecard score, scorecard checks: 3.9 overall, with zero scores for branch protection, code review, and token permissions.
- github.com/gildas-lormeau/zip.js/actions/runs/43322810512/attempts/1: Successful 2.25.0 release workflow checks tests before publishing.
- npm.io/package/@zip.js/zip.js: Registry metadata links the 2.25.0 npm provenance to GitHub Actions.
- github.com/gildas-lormeau/zip.js/security/policy: GitHub reports no security policy.
- github.com/gildas-lormeau/zip.js/releases/tag/v2.19.0: Records a fix for a filename validation flaw.
- github.com/gildas-lormeau/zip.js/blob/v2.25.0/README.md#reading-untrusted-zip-files: Documents caller responsibility for extraction limits.
Good
- It streams through web streams, so archives larger than memory, and over 4 GB with Zip64, work in browsers and on servers.
- It supports AES encryption, split archives, deflate64 decompression and pluggable codecs, including the native CompressionStream.
- It has zero dependencies, ships its own types, uses a BSD-3 licence and has no known advisories.
- Development is very active; work in 2026 added stricter integrity checks and guidance for reading untrusted zip files.
Bad
- The API is more verbose than JSZip's and has many options, so simple tasks take more code.
- Minor releases often change behaviour or types, such as removed options, new errors and changed return types.
- Nearly all work rests on one maintainer.
- It handles only ZIP; it does not create tar files or plain gzip streams beyond what the codecs expose.
The numbers
- npm downloads, 4 weeks
- 34M ×4.1 in a year
- GitHub stars
- 3.9k
- Commits, 12 months
- 1.1k
- npm version
- 2.25.0 Nov 2026
- Versions, 12 months
- 74
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 3.9 out of 10, Nov 2026
- Licence
- BSD-3-Clause
Read on 21 November 2026 from GitHub (gildas-lormeau/zip.js), npm (@zip.js/zip.js), OSV and the OpenSSF Scorecard.