Elestia Open Source Ratings
6.6

Archiver

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

Archiver is a mature, streaming library for Node.js that writes zip and tar archives from files, directories, buffers and streams. It is still a solid choice for writing archives on a server. It cannot read or extract archives, it ships no types of its own, and one maintainer releases it slowly. Version 8 also moved to ESM with new named exports, so older examples and the community types may not match it.

Best for: Node.js backends and build tools that need to stream zip or tar output from files or directories without holding the whole archive in memory.

WebsiteGitHubnpm

Scores

Overall6.6

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

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Archiver is still a reasonable, proven way to stream zip or tar output in Node. It cannot read archives, ships no types, and moves slowly with one main maintainer. The ESM-only v8 API change adds migration friction. For new projects, fflate or zip.js cover reading and writing on any runtime, and node-tar is the stronger tar choice. That puts archiver in the mid range, as a good pick only for Node apps that just write archives.

GPT-6.2 Sol: 7.1, likely 6.1 to 8.1

Archiver is a strong pick when a Node.js project needs one streaming API to write both ZIP and TAR from files and generated content. For browser ZIP work or ZIP extraction, zip.js covers more of the job, and node-tar can both create and extract TAR files. The working version 8 integrations give confidence in the writer, while the slow release cadence and stale quickstart temper the recommendation.

Needed by many4.5

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

Many Node projects need to write zip files at some point, for exports, backups or deploy bundles. Archiver covers only the writing half of the category, and only in Node, not in browsers. That makes it narrower than all-in-one peers such as JSZip, fflate or zip.js.

GPT-6.2 Sol: 4.0, likely 2.9 to 5.2

Packaging releases and streaming file exports are recurring jobs in the widely used Node.js ecosystem. Archiver serves the writing side of the category, with a filesystem-oriented API that limits its use in browsers. Runtime surveys show the size of the potential audience, while the share that needs to generate archives is less certain.

Helps a lot7.1

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

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

Archiver does its job well. It streams zip and tar output, adds directories and globs, and a benchmark by the zip.js maintainers shows it about as fast as zip.js with moderate memory use. It cannot read archives, it ships no types, and its event-based error and finish handling is easy to get wrong. The v8 API change also means AI agents often write the old v7 style.

GPT-6.2 Sol: 7.7, likely 6.6 to 8.7

Version 8 handles mixed inputs and lets callers stream archive output while setting entry metadata and compression options. It came close to native ZIP throughput on a large file, while fflate was faster on the many-small-files workload. The official quickstart still teaches the old factory, and an AI reviewer on a published migration incorrectly flagged the new named exports. Matching community types help, while performance on real workloads remains variable.

Holds up over time5.3

Will it still be a good choice in two years?

Claude Opus 5.5: 5.0, likely 4.0 to 6.5

The project is alive. It got a major release in May 2026 (ESM, Node 18+) and has recent pushes. But it had about 20 commits and one release in a year, it has a large backlog of open issues and pull requests, and one maintainer appears to do most of the work. Its long history and heavy use in other tools make abandonment unlikely, but progress is slow.

  • github commitsLastYear / releasesLastYear: 20 commits and 1 release in the last year
  • github openIssues / openPullRequests: 143 open issues and 33 open pull requests
  • github.com/archiverjs/node-archiver/releases: 8.0.0 brings ESM and needs Node 18+; earlier majors dropped old Node versions
  • scorecard Maintained: Scorecard Maintained check scores 0

GPT-6.2 Sol: 5.6, likely 4.3 to 7.0

Archiver recorded 20 commits and one release in the past year, and version 8 arrived more than two years after 7.0.1. The ESM move and factory replacement required changes in downstream code, and the documentation issue remains open. One maintainer triggered the observed release, and the depth of release access and funding is unclear. Node’s experimental built-in ZIP support adds some uncertainty about future demand.

Used widely6.9

How many use it, and is that growing?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

Archiver had 274M downloads in the last 4 weeks, up from 58M a year ago. That ratio of 4.7 is a little above the 4.1 median, so it is gaining slightly. Much of that comes from other tools installing it rather than direct choices. Still, 212k dependent repositories puts it in the hundreds of thousands, behind JSZip and ADM-ZIP but well ahead of fflate and zip.js.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 274M against 58M a year ago, a ratio of about 4.7 against the 4.1 median
  • dependents: 211,924 repositories and 5,403 packages
  • peers dependentRepos: JSZip has 657k and ADM-ZIP 639k dependent repositories; fflate has 26k
  • hackerNews / bluesky: No stories or posts, so little visible current discussion

GPT-6.2 Sol: 6.8, likely 5.7 to 7.9

Downloads grew 4.72× year over year, ahead of the 4.1× catalog median and behind JSZip, fflate, and unzipper. Ecosyste.ms indexed about 212,000 dependent repositories, fewer than JSZip or ADM-ZIP and more than fflate or unzipper. Popular downstream packages install Archiver automatically, and the npm version breakdown skews toward older releases. The scale is clear, while direct adoption in new projects is harder to estimate.

Vouched for6.6

Who stands behind it being good?

Claude Opus 5.5: 6.0, likely 4.5 to 7.0

More than 5,400 npm packages depend on archiver, and deployment and build tools have used it for years. One sign is the Netlify edge-bundler pull request that upgrades to v7. The zip.js maintainers included it in their benchmark, but there are no survey results and little current independent writing about it, so the range is wide.

GPT-6.2 Sol: 7.2, likely 6.1 to 8.3

Google Cloud Run tooling and the Mastra CLI adopted version 8, and ExcelJS uses an older release for streaming spreadsheet output. Two external benchmarks show competitive ZIP writing, with the results depending on file sizes and counts. The scope of those tests and limited survey evidence for Archiver itself leave its broader track record less certain.

Safe6.2

How safe is it to depend on?

Claude Opus 5.5: 6.0, likely 5.0 to 7.5

Archiver has no OSV advisories ever and uses the permissive MIT licence. On the other hand, its OpenSSF Scorecard is 3.5, with zeros for code review, token permissions, security policy and SAST. It also pulls in 9 direct dependencies with a longer transitive tree (zip-stream, archiver-utils, readable-stream, glob), and few people publish its releases.

  • advisories total: 0 advisories
  • scorecard score: 3.5, with Code-Review, Security-Policy and Token-Permissions all at 0
  • npm dependencies: 9 direct dependencies
  • npm license: MIT

GPT-6.2 Sol: 6.4, likely 5.2 to 7.6

Archiver uses the permissive MIT licence, and OSV lists zero advisories against the package itself. Version 8 was published through a GitHub Actions workflow that runs tests before publishing and is configured for npm authentication through OIDC. Nine direct dependencies and a 3.5 OpenSSF Scorecard limit the score, especially the weak code-review and fuzzing checks and the absence of a public security policy. Past dependency reports show that older installs have caused problems for users, while the record offers limited evidence about response times.

Good

  • Streaming output lets you pipe a zip or tar straight to a file or HTTP response without building one large Buffer.
  • High-level helpers add single files, whole directories and glob patterns to an archive, with a queue that handles the ordering.
  • It is very widely used in Node tooling: about 212k dependent repositories and more than 5,400 dependent packages.
  • It has no known security advisories and uses the MIT licence.

Bad

  • It only writes archives, so you need a second library such as yauzl, unzipper or JSZip to read or extract them.
  • It runs on Node only and ships no TypeScript types, and the @types/archiver package may lag behind the new v8 named-export API.
  • Development is slow and depends on one maintainer: about 20 commits and 1 release in the past year, with 143 open issues and 33 open pull requests.
  • Version 8 switched to ESM with ZipArchive and TarArchive named exports, which breaks older CommonJS code and examples.

The numbers

npm downloads, 4 weeks
274M ×4.7 in a year
GitHub stars
3k
Commits, 12 months
20
npm version
8.0.0 May 2026
Versions, 12 months
1
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
3.5 out of 10, Nov 2026
Licence
MIT

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