moxystudio/node-cross-spawn
A cross platform solution to node's spawn and spawnSync observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: n/a
- age_days: 4448
- days_rel: n/a
- days_push: 653
- n_releases_24m: 0
Adoption not part of the score
1171 stars · 136 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
cross-spawn is a Node.js library providing a drop-in replacement for child_process.spawn and spawnSync that works reliably across platforms. It fixes Windows-specific issues such as PATHEXT handling, shebang support, spaces in commands, and node_modules/.bin shim escaping.
Use cases
- spawn child processes reliably on Windows from Node.js
- run npm or other executables from a Node script cross-platform
- execute commands with spaces or posix relative paths on Windows
- run scripts with shebang lines on Windows
- replace node's spawn with a safer cross-platform alternative
- spawn commands in node_modules/.bin with correct argument escaping
When to choose
- you need cross-platform child process spawning in Node.js, especially Windows compatibility
- you run executables like npm or node_modules/.bin shims from Node scripts
- you want a drop-in replacement for spawn/spawnSync without manual shell escaping
When to avoid
- you only target Unix-like systems and don't need Windows fixes
- you need advanced process control beyond what spawn offers
- you can rely on node's built-in options.shell and handle escaping yourself
Facets
library · maturity stable
developer-tools cli developer-tools cross-platform cross-platform windows child-process spawn shebang windows-compatibility npm command-line nodejs
1 source
- readme: https://github.com/moxystudio/node-cross-spawn · fetched 2026-08-28 · f10f3fc46741
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| moxystudio/node-cross-spawn | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="moxystudio/node-cross-spawn")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem