# Archiver: 6.6 out of 10

Reasonable, with limits. 6th of 9 in [Zip and compression](https://elestia.ai/opensource/compression/index.md).

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.

## Scores

- **Overall: 6.6** (likely 5.6 to 7.6)
  - Claude Opus 5.5 (6.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): 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 many: 4.5** (likely 3.5 to 5.6)
  - Claude Opus 5.5 (5.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): 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 lot: 7.1** (likely 6.1 to 8.1)
  - Claude Opus 5.5 (6.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): 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 time: 5.3** (likely 4.2 to 6.8)
  - Claude Opus 5.5 (5.0): 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.
  - GPT-6.2 Sol (5.6): 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 widely: 6.9** (likely 5.9 to 8.0)
  - Claude Opus 5.5 (7.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.
  - GPT-6.2 Sol (6.8): 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 for: 6.6** (likely 5.3 to 7.7)
  - Claude Opus 5.5 (6.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): 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.
- **Safe: 6.2** (likely 5.1 to 7.6)
  - Claude Opus 5.5 (6.0): 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.
  - GPT-6.2 Sol (6.4): 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

- Downloads, 4 weeks: 274M
- In a year: ×4.7
- GitHub stars: 3k
- Commits, 12 months: 20
- Last npm release: May 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/archiverjs/node-archiver
- npm: https://www.npmjs.com/package/archiver

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
