Elestia Open Source Ratings
5.7

unzipper

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

unzipper is a Node.js library for reading zip files. It can stream entries one by one or open a zip by random access from a file, a buffer, a URL or S3. It works and is widely installed through ExcelJS, but it is CommonJS-only, ships no types of its own, has one maintainer, and had a high-severity Zip Slip advisory in 2026. For new projects, yauzl or extract-zip are safer for extraction, and fflate or zip.js are more modern.

Best for: Node.js projects that need to stream entries out of large zips or read them by random access from S3 or HTTP without loading the whole file into memory.

GitHubnpm

Scores

Overall5.7

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

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

unzipper does a useful job well enough. Its streaming and S3/URL random access are a real niche. Correctness and security incidents, one maintainer, missing bundled types and old dependencies keep it from being a strong pick. For new code, yauzl or extract-zip suit careful extraction, and fflate or zip.js suit modern code that also needs to write archives.

GPT-6.2 Sol: 6.3, likely 5.2 to 7.4

unzipper earns its place when a Node.js service needs sequential ZIP parsing or convenient range reads from S3 or HTTP. For new projects centered on reading ZIP files from disk, yauzl offers default entry-size validation, and zip.js covers projects that also need ZIP creation or browser support. Sparse releases and separate TypeScript declarations keep unzipper from being a default choice, while the value of its storage integrations depends on the workload.

Needed by many3.7

How many developers need a tool for this job?

Claude Opus 5.5: 4.0, likely 3.0 to 5.0

Reading zip archives in Node is a recurring but niche need. unzipper only reads zips: it does not write them, handle tar, or run in browsers. That makes it narrower than its category.

GPT-6.2 Sol: 3.4, likely 2.3 to 4.5

ZIP extraction is a recurring task for file imports, build tools, and command-line apps. Node.js is widely used, but unzipper serves the narrower group that needs to read ZIP archives in that runtime. The survey measures runtime use, so the share that needs ZIP extraction remains an estimate.

Helps a lot6.1

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

Claude Opus 5.5: 5.0, likely 4.0 to 6.5

The API is flexible: streaming parse, random access by central directory, S3 and URL sources, and password support. Correctness has been uneven. Files were corrupted on some Node versions until 0.12.1, and path validation could be bypassed until 2026. There are no bundled types and no ESM build, so yauzl is more careful about the spec, and fflate and zip.js are more modern.

GPT-6.2 Sol: 7.1, likely 6.0 to 8.2

The docs cover both sequential parsing and random access over disk, HTTP, and S3. In one independent benchmark, unzipper was close to yauzl on large entries and substantially slower than fflate on archives with many small entries. The separate TypeScript declarations and the need to drain skipped entries make integration easier to get wrong. A user reported incomplete extraction through the stream API on an earlier release, and its status in 0.12.5 remains unclear.

Holds up over time4.8

Will it still be a good choice in two years?

Claude Opus 5.5: 4.5, likely 3.0 to 6.0

There were 52 commits in the last year and two npm versions. The 2026 work merged an ESM and refactoring PR and fixed a security issue. Releases depend on one maintainer, the work comes in bursts, Scorecard rates Maintained at 0, and there are 73 open issues. Forks such as unzipper-esm and unzipper-lite exist to fix dependency problems that upstream left alone.

GPT-6.2 Sol: 5.0, likely 3.7 to 6.5

The repository recorded 52 commits in the past year, but both npm updates arrived on the same day after nearly two years between publishes. npm lists one collaborator, and the repository had 73 open issues and 19 open pull requests at the snapshot. Node.js 26 has introduced experimental ZIP support, which adds uncertainty about demand for basic ZIP reading over the next two years.

Used widely5.9

How many use it, and is that growing?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Downloads were 160M over 4 weeks, up 7.3x against a 4.1 median. Most of that likely comes from ExcelJS and other packages that install it rather than from direct choice. It has 57.9k dependent repos, which is far below adm-zip, JSZip and yauzl (about 640k–730k) but above fflate.

  • npm downloadsLast4Weeks: 160.6M, against 22.1M a year before
  • dependents repos: 57,867 repos, far below major peers
  • github.com/exceljs/exceljs/issues/2743: ExcelJS depends on unzipper, which drives transitive installs

GPT-6.2 Sol: 5.8, likely 4.6 to 7.0

Four-week downloads rose from 22.1 million to 160.6 million, a 7.3× increase against the 4.1× catalog median. Most downloads in npm's version breakdown still go to 0.10.14, which ExcelJS pulls in through its dependency range, so the growth in direct choices is unclear. The 57,867 indexed dependent repos place unzipper above fflate and well below JSZip and yauzl in the supplied snapshot.

Vouched for5.0

Who stands behind it being good?

Claude Opus 5.5: 4.0, likely 2.5 to 5.5

Its main backing is that ExcelJS and some other well-used packages rely on it. No survey data or independent benchmarks exist, and it has no Hacker News or Bluesky attention. Users in issues report moving to yauzl or extract-zip after problems.

GPT-6.2 Sol: 6.0, likely 4.8 to 7.2

ExcelJS uses the older 0.10 line, and Microsoft's Edge DevTools extension lists 0.12.5 as a development dependency. Independent benchmarks show competitive extraction speed on large entries, although the results come from one machine and vary with the workload. Those integrations and measurements give some confidence, while project-specific satisfaction data are sparse.

Safe5.4

How safe is it to depend on?

Claude Opus 5.5: 5.0, likely 4.0 to 6.5

A high-severity Zip Slip advisory (GHSA-2756-j7rr-9464, versions 0.12.4 and earlier) was published in July 2026. It appears to be fixed in 0.12.5, but the bundle's OSV data does not show it yet, and older ExcelJS ranges pin vulnerable versions. The Scorecard score is 5, with no security policy, branch protection or SAST. The package pulls in 5 dependencies, including bluebird. It is MIT-licensed.

GPT-6.2 Sol: 5.7, likely 4.4 to 7.0

Version 0.12.5 is MIT-licensed and has five direct runtime dependencies. The researcher who reported the 2026 path traversal confirms a fix in 0.12.5, while the repository advisory still shows no patched version and the supplied advisory snapshot omits the report. The 5/10 Scorecard gives full marks for code review and token permissions, with zeroes for branch protection, fuzzing, and a security policy. Those gaps and the single listed npm collaborator leave meaningful release and maintenance risk.

Good

  • Offers both a streaming parser and random access through the central directory, with Open.file, Open.buffer, Open.url and Open.s3.
  • Never buffers the whole archive into memory, unlike adm-zip.
  • Supports promises, async iterators and piping, and can decode legacy DOS filenames.
  • MIT licence and no native or compiled dependencies.

Bad

  • It only reads zips: it cannot create them or handle tar, and it runs on Node only.
  • Ships no bundled TypeScript types (it relies on @types/unzipper) and still depends on bluebird and fs-extra.
  • Has a history of correctness bugs, such as corrupted files on some Node versions, and in July 2026 a high-severity Zip Slip advisory for versions 0.12.4 and earlier.
  • One maintainer, bursty activity, and no GitHub release since 2024.

The numbers

npm downloads, 4 weeks
161M ×7.3 in a year
GitHub stars
475
Commits, 12 months
52
npm version
0.12.5 Jun 2026
Versions, 12 months
2
Advisories, 24 months
0 of 1 ever
OpenSSF Scorecard
5.0 out of 10, Nov 2026
Licence
MIT

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