Elestia Open Source Ratings
6.9

yauzl

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

yauzl is a low-level, read-only zip reader for Node.js. It follows the zip spec closely, streams entries without loading whole files into memory, and copes well with malformed archives. It is a solid choice for careful, streaming zip extraction on Node, but it does not write zips (its sister package yazl does that), does not run in browsers, and does not handle tar or gzip.

Best for: Node.js developers who need to read or extract zip files safely and in a streaming way, and who are fine writing the extraction code themselves.

GitHubnpm

Scores

Overall6.9

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

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

For reading zips on Node with streaming and strong handling of malformed input, yauzl is a strong and trusted pick. Its narrow scope (read-only, Node-only, no types), single-maintainer model and below-median growth keep it below fflate or JSZip for most new projects. Those projects want reading and writing, browser support or compression in one library. Pick it when correctness and low memory use matter for zip extraction on a server.

GPT-6.2 Sol: 7.2, likely 6.1 to 8.2

yauzl is a strong new-project choice for selective, low-memory ZIP reading on Node.js. zip.js is a better fit for projects that also write ZIPs or run in browsers, and unzipper offers a ready-made directory extractor. The limited release activity since June and weak repository safeguards keep the recommendation below the category default.

Needed by many3.8

How many developers need a tool for this job?

Claude Opus 5.5: 4.0, likely 3.0 to 5.0

Many Node projects read zip files at some point, but yauzl covers only that part of the category's job: reading zips on Node. It does not write zips, handle tar, or compress data, and it does not run in browsers. That makes it narrower than its category.

GPT-6.2 Sol: 3.6, likely 2.5 to 4.8

Reading ZIP files is a recurring need in file imports, build tools, and installers. yauzl serves the Node.js read side of that job, with ZIP creation, TAR, and browser use outside its scope. The developer survey measures Node.js use, so the share that needs a dedicated ZIP reader is an estimate.

Helps a lot7.5

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

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

For reading zips on Node, yauzl is among the most correct and robust choices. It parses the central directory, streams entries, validates file names, and avoids crashes on malformed input. Version 3.4 added promise wrappers and async iteration. It loses points because it is read-only, has no bundled types, and leaves writing files to disk to you, while unzipper and zip.js offer more out of the box.

GPT-6.2 Sol: 8.0, likely 6.9 to 8.9

Version 3.4.0 combines central-directory parsing, ZIP64 support, and entry streams with documented promise and async iterator APIs. Separate community types cover those APIs, though older examples still use callbacks. A third-party benchmark puts yauzl near the lead on large files and well behind fflate on many small entries, so performance depends on the archive. Callers handle extraction to disk and any CRC-32 verification.

Holds up over time6.1

Will it still be a good choice in two years?

Claude Opus 5.5: 6.0, likely 4.0 to 7.0

It is still maintained: 13 commits and 5 npm versions in the last year, with 3.4.0 published in June 2026. It has a long history of avoiding breaking changes and works by deprecating old APIs instead. The risk is that it rests mostly on one unpaid maintainer, and the Scorecard's Maintained check reads 0. Heavy indirect use through extract-zip, VS Code and Chromium tooling makes it unlikely to be abandoned without a replacement.

  • github commitsLastYear: 13 commits in the last year.
  • npm versionsLastYear: 5 versions; latest is 3.4.0 (2026-06-07).
  • scorecard Maintained: Maintained check scores 0.
  • github openIssues: 10 open issues against 113 closed; the backlog is small.

GPT-6.2 Sol: 6.1, likely 4.8 to 7.4

The project made five npm publishes and 13 commits in the past year, including a stream fix and the new async APIs. The last publish was in June, and unzipper and zip.js had more commit activity. The maintainer answered the July Node 26 report within a day and pointed to the fix in version 3.3.1. Two listed npm maintainers and limited evidence of funding or shared release work leave the two-year outlook uncertain.

  • npm versionsLastYear, latestPublishedAt and github commitsLastYear, releasesLastYear: Five npm publishes and 13 commits, with no GitHub Releases.
  • peers commitsLastYear: unzipper had 52 commits and zip.js had 1,053.
  • github.com/thejoshwolfe/yauzl/issues/176: The owner quickly identified the version 2 stream issue and pointed to the version 3 fix.
  • intel.aikido.dev/packages/npm/yauzl: Lists two npm maintainer accounts.
Used widely6.2

How many use it, and is that growing?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Downloads are huge (285M in 4 weeks) and 728k repositories depend on it. Most of that comes through extract-zip, Electron tooling, Puppeteer and similar packages, not from developers choosing it. Its growth ratio of 2.9 is below the 4.1 median and below JSZip, fflate, unzipper and Archiver, so it is losing share. Direct choice is probably in the tens of thousands of projects.

  • npm downloadsLast4Weeks: 285M now, against 97M a year ago: a ratio of about 2.9, below the 4.1 median.
  • dependents repos: 728k dependent repos, similar to JSZip and ADM-ZIP.
  • github stars: 832 stars, low compared with peers.
  • socket.dev/npm/package/extract-zip/overview/^2.0.0: extract-zip is built on yauzl, which explains much of the transitive volume.

GPT-6.2 Sol: 6.3, likely 4.8 to 7.6

ecosyste.ms found 728,189 dependent repositories and 1,035 packages, putting yauzl ahead of JSZip and unzipper on tracked repositories. Four-week downloads grew 2.93× year over year, below the 4.1× catalog median and unzipper’s 7.27×. A published study found that extract-zip accounted for most yauzl downloads in its sample, and Puppeteer has since dropped that dependency path. The installed base is large, but the available counts leave direct adoption hard to estimate.

  • dependents.repos, dependents.packages and peers dependentRepos: 728,189 tracked repositories and 1,035 tracked packages.
  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio and peers: 285.1 million versus 97.4 million, growing below the catalog median.
  • usenix.org/system/files/usenixsecurity25-you.pdf: Researchers estimated extract-zip accounted for about 80% of yauzl downloads in 2025.
  • github.com/puppeteer/puppeteer/pull/14960: Puppeteer removed extract-zip from its browser installer.
Vouched for6.8

Who stands behind it being good?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Major projects depend on it. Chromium DevTools vendors it, VS Code uses it, and Electron and Puppeteer tooling use it through extract-zip. These are serious production users, but there are no surveys, independent benchmarks or recent write-ups, and the comparison pages are auto-generated.

GPT-6.2 Sol: 7.5, likely 6.3 to 8.5

Playwright bundles yauzl, VS Code uses it in its ZIP extraction code, and Debian packages version 3.4.0. A third-party benchmark also found it competitive on large files. These sources show current use in tooling, with little direct evidence of developer satisfaction.

Safe6.6

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

It has one runtime dependency, an MIT licence, and a design that rejects unsafe file names and survives malformed input. The single advisory was a moderate denial-of-service in 3.2.0's NTFS timestamp parser, fixed promptly in 3.2.1. The Scorecard is low at 2.8, with no branch protection, code review, security policy or fuzzing, and releases come from one maintainer.

GPT-6.2 Sol: 6.2, likely 4.9 to 7.4

The MIT-licensed package has one runtime dependency, and version 3.2.1 fixed the sole reported advisory, a moderate crash, before public disclosure. The 2.8 OpenSSF Scorecard reports weak branch protection, review, token permissions, and fuzzing. Two accounts are listed as npm maintainers, and the available evidence gives limited assurance about how releases are produced.

  • npm dependencies, license and advisories.total: One runtime dependency, MIT license, and one advisory in the snapshot.
  • github.com/advisories/GHSA-gmq8-994r-jv83: Moderate crash affected 3.2.0 and was fixed in 3.2.1.
  • intel.aikido.dev/packages/npm/yauzl: Dates the patch to March 10 and reports two maintainers and no build attestation.
  • scorecard.score, scorecard.checks: 2.8 overall, with several repository controls scoring zero.

Good

  • It reads the central directory as the spec says, and it does not crash on corrupt archives when used correctly.
  • It streams entry data and never buffers whole files in RAM, so large archives work.
  • It has one runtime dependency and an MIT licence, so the attack surface is small.
  • Version 3.4.0 added promise wrappers and for-await iteration (eachEntry), which make it easier to use.

Bad

  • It is read-only and zip-only. Writing zips needs yazl, and tar or gzip need other tools.
  • It runs only on Node and has no browser support, unlike fflate, JSZip or zip.js.
  • It ships no TypeScript types, so you need @types/yauzl.
  • One maintainer does most of the work, and the OpenSSF Scorecard is low at 2.8.

The numbers

npm downloads, 4 weeks
285M ×2.9 in a year
GitHub stars
832
Commits, 12 months
13
npm version
3.4.0 Jun 2026
Versions, 12 months
5
Advisories, 24 months
1 of 1 ever
OpenSSF Scorecard
2.8 out of 10, Nov 2026
Licence
MIT

Many packages install it, so most downloads are not a direct choice.

Read on 21 November 2026 from GitHub (thejoshwolfe/yauzl), npm (yauzl), 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