google/zx
A tool for writing better scripts observed · 2026-10-15
Health v2 · maintenance only
80/100
- Activity 99
- Release rhythm 45
- 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: 7.5
- age_days: 1994
- days_rel: 366
- days_push: 8
- n_releases_24m: 29
Adoption not part of the score
45787 stars · 1314 forks observed · 2026-10-15
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
zx is a JavaScript/Node.js library and CLI for writing shell scripts with template literals that wrap child_process, handling argument escaping and sensible defaults. It lets developers replace complex bash scripts with JavaScript while using the npm ecosystem.
Use cases
- write shell scripts in javascript
- replace bash scripts with nodejs
- run child processes with escaping
- automate deployment scripts
- run commands in parallel
- cross-platform scripting
When to choose
- you need complex logic (variables, promises, error handling) beyond what bash handles well
- you want to use npm libraries inside automation scripts
- you need scripts that run on Linux, macOS, and Windows
When to avoid
- you only need simple one-liner shell commands
- your environment has no Node.js, Bun, or Deno runtime
- you need POSIX-strict shell portability without a JS runtime
Facets
cli-tool · maturity stable
cli developer-tools concurrency file-system developer-tools cli cross-platform windows bun shell-scripting child-process script-runner bash-alternative javascript command-line automation nodejs linux macos deno
2 sources
- readme: https://github.com/google/zx · fetched 2026-10-15 · 952b5b10d116
- homepage: https://google.github.io/zx/ · fetched 2026-09-14 · 064bbe678a8e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/zx | main | 80 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem