Elestia Open Source Ratings
7.7

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.

WebsiteGitHubnpm

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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