Elestia Open Source Ratings
8.0

execa

A strong pick. 1st of 8 shell and process tools.

Execa is the most complete Node.js library for running subprocesses. It offers a promise API and template strings, safe argument escaping, piping, IPC, streaming and good errors. It is a strong, well-maintained choice today. Teams that care about install size are moving to the much smaller tinyexec, and execa's download growth trails the median.

Best for: Node.js apps, CLIs and build tools that need rich, reliable subprocess control and don't mind a larger dependency tree.

GitHubnpm

Scores

Overall8.0

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

Claude Opus 5.5: 7.5, likely 7.0 to 8.5

Execa is the most capable and best-documented subprocess library for Node, it is actively maintained, and it is safe to choose for rich process control. tinyexec now covers the common case with a far smaller footprint and is gaining ground faster, so execa is no longer the clear default. Its frequent breaking majors also count against it.

GPT-6.2 Sol: 8.5, likely 7.4 to 9.4

Execa is the strongest choice in this group for modern Node.js projects that need detailed errors, streaming pipelines, or careful process cleanup. Recent releases and adoption by semantic-release support choosing it today. Tinyexec has a credible advantage for simple spawning, and Execa’s slower relative download growth and weak supply-chain controls keep the recommendation below a category-wide default.

Needed by many5.8

How many developers need a tool for this job?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Many Node projects need to run programs from code, mostly CLIs, build tools, scripts and tests. Most web app code does not. Execa targets Node only, which is still the main runtime for this job.

  • dependents: 932k repos and 17.6k packages depend on it
  • category job: Spawning processes is common in tooling and less common in app code

GPT-6.2 Sol: 5.6, likely 4.3 to 6.9

Running external programs comes up in CLIs, build tools, and automation across the Node.js ecosystem. Execa’s Node.js 22 requirement narrows the audience, and routine browser work rarely calls for direct process control. Runtime surveys show how widely Node.js is used but leave the share of developers who need a subprocess library uncertain.

Helps a lot8.8

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

Claude Opus 5.5: 8.5, likely 7.5 to 9.0

Execa has the richest feature set among its peers, with careful handling of errors, streams, IPC and Windows quirks, plus strong types and docs. v10 modernized the API: the subprocess is a plain promise and web streams are supported. Its large size and Node-only scope keep it from a perfect score for users who want a minimal tool.

GPT-6.2 Sol: 9.1, likely 8.2 to 9.9

Execa brings typed results, detailed errors, streaming pipelines, IPC, and process cleanup into one API. The versioned examples give coding agents a reference for current calls, and 10.2.1 fixes compatibility with exactOptionalPropertyTypes. A single Linux benchmark found more overhead than tinyexec for a trivial spawn, so performance across workloads remains uncertain.

Holds up over time7.9

Will it still be a good choice in two years?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

It had 103 commits and 7 releases in the last year, including a major release in July 2026, and the issue tracker is nearly empty. It has two long-time maintainers. Frequent breaking changes, and an ecosystem trend toward lighter tinyexec, add some risk.

GPT-6.2 Sol: 7.8, likely 6.6 to 8.8

Execa logged 103 commits and seven releases in the past year, and maintainers closed a user-reported sync error bug the same day it was opened. Version 10 raised the Node.js minimum and changed how callers access native process methods, creating real upgrade work. npm lists two maintainers, and the package links to sponsorship, but long-term funding is unclear.

Used widely8.0

How many use it, and is that growing?

Claude Opus 5.5: 8.5, likely 7.5 to 9.0

It has about 944M downloads per 4 weeks and 932k dependent repos, the most of any direct-choice tool in the category. Many downloads come from transitive installs. Its growth ratio of 2.4x is below the 4.1x median, while tinyexec has nearly caught up on downloads.

  • npm downloadsLast4Weeks: 944M, up from 395M a year ago (2.4x)
  • medianDownloadsRatio: The median ratio is 4.1, so execa is losing relative ground
  • peers tinyexec: 918M downloads, up 8.4x
  • dependents repos: 932k repos, far above zx and ShellJS

GPT-6.2 Sol: 7.4, likely 6.1 to 8.7

Ecosyste.ms found about 932,000 dependent repositories and 17,600 dependent packages, far ahead of ShellJS and zx in the sample. Downloads grew 2.39×, below the catalog’s 4.1× baseline, while tinyexec grew about 8.42×. Indirect installs, heavy use of older versions, and no matched Hacker News stories or Bluesky links in the bundle leave current direct adoption hard to pin down.

  • dependents; peers: Execa's sampled repository count exceeds ShellJS and zx.
  • npm.downloadsLast4Weeks; npm.downloadsSame4WeeksYearAgo; medianDownloadsRatio; peers: 944 million versus 395 million installs. Tinyexec grew faster than the baseline.
  • npmjs.com/package/execa?activeTab=versions: The registry snapshot shows substantially more installs for v9.6.1 than v10.2.1.
  • github.stars; hackerNews.stories; bluesky.posts: 7,652 stars with no matched stories or posts in the snapshot.
Vouched for7.3

Who stands behind it being good?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

Many major tools have run it in production for years. The e18e module-replacements list recommends tinyexec over it, and Nuxt projects have migrated away. Most comparisons I found are execa's own docs; I found no independent benchmark or survey data for it.

GPT-6.2 Sol: 7.5, likely 6.3 to 8.6

Semantic-release adopted Execa 10 in a stable release, and Yeoman uses Execa 9 to run commands from generators. An independent comparison favored Execa for richer piping and error handling, while Vitest’s test tooling switched to tinyexec. These examples support Execa’s fit for demanding workloads, but broad satisfaction data and independent testing of advanced features are thin.

Safe6.7

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

It has no known advisories, uses the MIT licence and has a security policy. It still pulls in 12 dependencies, and the OpenSSF Scorecard is a low 4.3, with zero on code review, branch protection, pinned dependencies and token permissions. Its no-shell default lowers the risk of command injection.

  • advisories total: 0 advisories
  • scorecard score: 4.3 with several zero checks
  • npm dependencies: 12 direct dependencies
  • npm license: MIT

GPT-6.2 Sol: 6.4, likely 5.2 to 7.7

Execa has an MIT licence, a reporting policy, and no advisories in the OSV snapshot. It avoids shell interpretation by default, and opting into shell mode requires shell-specific quoting. The 4.3 OpenSSF score and 12 runtime dependencies weigh against it, especially the zero scores for code review, branch protection, workflow token permissions, and dependency pinning. npm lists two maintainers, while the publishing method and release provenance remain unverified.

Good

  • It has the widest feature set in the category: piping, IPC, transforms, web streams, killDescendants, verbose mode and detailed errors.
  • Template strings escape arguments and run no shell by default, so commands are safe and work the same across platforms.
  • It is actively maintained: v10 shipped in July 2026 with several follow-up releases, and the tracker has 1 open issue against 508 closed.
  • Its typings are thorough and its documentation is extensive, so AI agents usually write correct code for it.

Bad

  • It pulls in 12 dependencies and has a large install size; e18e and Nuxt projects replace it with tinyexec for that reason.
  • Major versions often break code: v10 needs Node 22 and removed execaCommand, and v10 minor releases also changed behavior.
  • Its downloads grew 2.4x in a year, below the 4.1x median, while tinyexec grew about 8x.
  • It only targets Node.js. Bun and Deno users have Bun.$ or dax built in or closer to hand.

The numbers

npm downloads, 4 weeks
944M ×2.4 in a year
GitHub stars
7.7k
Commits, 12 months
103
npm version
10.2.1 Oct 2026
Versions, 12 months
7
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
4.3 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (sindresorhus/execa), npm (execa), OSV and the OpenSSF Scorecard.

Shell and process tools

  1. 8.0execa
  2. 7.3tinyexec
  3. 7.2zx
  4. 7.0Bun Shell
  5. 6.7dax
  6. 6.2nano-spawn
  7. 5.1ShellJS
  8. 5.1cross-spawn
Compare all 8 on six scores