sindresorhus/execa
Some data may be outdated — see provenance labels.
Process execution for humans observed · 2026-09-28
Health v2 · maintenance only
86/100
- Activity 87
- Release rhythm 76
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 39
- age_days: 3972
- days_rel: 82
- days_push: 82
- n_releases_24m: 8
Adoption not part of the score
7609 stars · 1383 forks observed · 2026-09-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Execa is a Node.js library for executing child processes with a simple, promise-based API built on top of child_process. It offers shell-free execution without escaping or quoting, subprocess piping, detailed errors, and improved Windows support.
Use cases
- run shell commands from a node script
- spawn child processes in javascript
- execute local npm binaries without npx
- pipe multiple subprocesses together
- avoid shell injection when running commands
- capture stdout and stderr of a command
- run git or cli tools programmatically
When to choose
- you need to run external commands from Node.js with a clean promise API
- you want safe command execution without manual escaping or quoting
- you need to pipe subprocesses and access intermediate results
- you need reliable cross-platform behavior including Windows shebangs and PATHEXT
When to avoid
- you need to run commands in a language other than JavaScript/Node.js
- you only need a one-off shell script where bash or zx is simpler
- you need interactive terminal control or a full PTY
Facets
library · maturity stable
cli developer-tools concurrency error-handling developer-tools cross-platform windows child-process subprocess shell-execution promise-based process-spawning command-line automation nodejs linux macos
2 sources
- readme: https://github.com/sindresorhus/execa · fetched 2026-09-28 · 3297b6fa0449
- registry_npm: https://registry.npmjs.org/execa · fetched 2026-08-29 · 2e9ae057705b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sindresorhus/execa | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="sindresorhus/execa")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem