Elestia Open Source Ratings
7.3

tinyexec

A strong pick. 2nd of 8 shell and process tools.

tinyexec is a small, zero-dependency wrapper around Node's child_process that runs commands with async/await. It is the light pick in its category: Vitest and Nuxt tooling use it, and it is growing fast. execa still has more features.

Best for: Authors of libraries and CLI tools who want to run commands with no added dependencies and can live with a minimal API.

GitHubnpm

Scores

Overall7.3

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

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

It is a strong pick when a small dependency footprint matters, for example in libraries and CLIs, and major tooling has moved to it. execa remains the better default when you need rich features, safer defaults such as throwing on failure, and a longer track record. Its defaults and a few recent behaviour changes keep it below the top.

GPT-6.2 Sol: 7.6, likely 6.4 to 8.6

Choose tinyexec for a new Node.js CLI or build tool that needs a small, typed process runner with sync and async calls. Execa is the stronger default for complex subprocess I/O and debugging. Recent maintenance and adoption by established tools support the recommendation, while the open output bug and limited evidence on cross-platform workloads leave room for a lower score.

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

Running child processes is common in build tools, CLIs, test runners and scripts, but most application code never does it. tinyexec is a general Node-level tool, not tied to one framework.

  • category.job: Running commands from JS is a broad tooling need
  • github.com/tinylibs/tinyexec: General child_process wrapper for any Node-compatible runtime

GPT-6.2 Sol: 5.5, likely 4.2 to 6.8

Running external programs is useful across Node.js CLIs, build tools, test tooling, and some backends. Node.js is widely used, but browser-only projects have little use for this API, and the survey does not measure how often developers need a dedicated process library.

Helps a lot7.0

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

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

It handles the common cases well with a clean, typed API and no dependencies. On purpose it leaves out much of what execa offers, and its defaults (no throw, no trim) are easy to get wrong. Recent patch-level behaviour changes, a reverted fix and an open UTF-8 decoding bug show some rough edges.

GPT-6.2 Sol: 7.5, likely 6.3 to 8.5

Version 1.3.1 covers ordinary process execution with documented, typed async and sync APIs, plus piping and cancellation on the async side. Agents can follow the short examples, but need to handle nonzero exits explicitly. One Linux benchmark found lower overhead than Execa for a basic spawn, while an open UTF-8 capture bug and fewer I/O helpers limit confidence in more demanding jobs.

Holds up over time7.2

Will it still be a good choice in two years?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

It is maintained by the tinylibs/e18e community, with 13 releases, 88 commits and 19 contributors, and the last push was this week. Big tools such as Vitest and Nuxt now depend on it, so the ecosystem is moving towards it. It has no known funding, and a few maintainers do most of the work.

GPT-6.2 Sol: 7.4, likely 6.1 to 8.5

The repository logged 88 commits and 13 GitHub releases over the past year, with activity in November. A 1.2.3 regression broke lint-staged tests, and 1.2.4 reverted the relevant change within days. Contributors share development work, but recent release tags come from one maintainer, and the public funding file names one sponsorship recipient without showing funding levels.

Used widely5.8

How many use it, and is that growing?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

Downloads rose about 8.4 times in a year, to 918M per 4 weeks, which is well above the 4.1 median. Most of those come in through Vitest, Nuxt, @antfu/ni and similar tools, not from direct choices. Direct use is smaller than execa's, and with no dependents count the estimate stays uncertain.

  • npm downloadsLast4Weeks: 917.7M vs 109.0M a year ago (ratio ~8.4)
  • medianDownloadsRatio: Median 4.1, so it is gaining ground fast
  • github stars: Only 386 stars, which points to mostly transitive use
  • dependents: null; no ecosyste.ms count

GPT-6.2 Sol: 4.5, likely 3.1 to 6.2

Four-week downloads grew 8.4× year over year, ahead of the catalog median of 4.1× and Execa’s 2.4×. Vitest and Astro pull in tinyexec, so their users and build systems can drive that growth without choosing it directly. The 386 stars, one Bluesky post, and missing ecosyste.ms dependent count leave direct adoption much less certain than the download total suggests.

Vouched for7.1

Who stands behind it being good?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

Several well-known projects chose it over execa: Vitest, Nuxt CLI, Nuxt DevTools and jiti. e18e lists it as an execa replacement. There are no survey results or independent benchmarks, and Nuxt test-utils' claim that it performs better rests on informal testing.

GPT-6.2 Sol: 7.6, likely 6.4 to 8.7

Vitest and Astro use it, and Lerna Lite switched from Execa once tinyexec added synchronous execution. An independent benchmark also measured a smaller bundle for a simple command runner. Those examples validate it for developer tooling, while the benchmark’s single setup leaves broader performance and reliability less certain.

Safe8.3

How safe is it to depend on?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

It has zero dependencies, no advisories and an MIT licence, and it is published from GitHub Actions. There is no OpenSSF Scorecard data. pnpm's trust-policy check blocks versions from 1.2.1 on, which adds friction for teams that use strict supply-chain settings.

GPT-6.2 Sol: 8.6, likely 7.4 to 9.5

The MIT license, zero runtime dependencies, and staged npm publication with verifiable build provenance make it a low-risk dependency. OSV lists zero advisories in the snapshot, and Aikido documents a low-severity search-path flaw fixed in 1.1.2. The missing OpenSSF Scorecard and unverified number of authorized npm publishers limit confidence in the wider release controls.

Good

  • It has zero runtime dependencies and ships TypeScript types, which keeps install size and supply-chain surface small.
  • It covers the common needs: awaiting a result, iterating output line by line, piping, timeouts, AbortSignal, a sync variant and node_modules/.bin on PATH.
  • Major tooling has adopted it: Vitest, Nuxt CLI, Nuxt DevTools and jiti, and e18e recommends it as an execa replacement.
  • It is actively maintained, with 13 releases and 88 commits in the last year.

Bad

  • A non-zero exit code does not throw by default, and output is not trimmed, which surprises users coming from execa.
  • It has fewer features than execa: no template-string scripting, no file-input helpers, and a limited sync API.
  • Some 2026 patch releases changed behaviour and one was reverted (1.2.3 was undone in 1.2.4), and there are open bugs about UTF-8 chunk decoding and ENOENT handling.
  • Versions from 1.2.1 on are blocked by pnpm's trustPolicy no-downgrade setting unless users add an exclusion.

The numbers

npm downloads, 4 weeks
918M ×8.4 in a year
GitHub stars
386
Commits, 12 months
88
npm version
1.3.1 Sept 2026
Versions, 12 months
11
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
MIT

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