sindresorhus/execa
Process execution for humans observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 95
- Release rhythm 95
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 29
- age_days: 3924
- days_rel: 34
- days_push: 34
- n_releases_24m: 10
Adoption not part of the score
7592 stars · 260 forks observed · 2026-08-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-08-28 · 3297b6fa0449
- registry_npm: https://registry.npmjs.org/execa · fetched 2026-08-29 · 2e9ae057705b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sindresorhus/execa | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="sindresorhus/execa")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem