shelljs/shelljs
:shell: Portable Unix shell commands for Node.js observed · 2026-08-28
Health v2 · maintenance only
78/100
- Activity 97
- Release rhythm 40
- 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: 8
- age_days: 5297
- days_rel: 481
- days_push: 21
- n_releases_24m: 4
Adoption not part of the score
14399 stars · 753 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
ShellJS is a portable implementation of Unix shell commands (cp, rm, mkdir, which, etc.) as a Node.js library, working on Windows, Linux, and macOS. It lets developers replace Bash scripts with cross-platform JavaScript while keeping familiar shell command syntax.
Use cases
- run unix shell commands from node.js cross-platform
- replace bash scripts with javascript
- write build scripts that work on windows and linux
- copy move and delete files in a node script
- check if a command exists before running it
- portable mkdir rm cp for npm scripts
When to choose
- you need unix-style file operations in Node.js that work on Windows too
- you want to eliminate dependency on a Unix shell in build or CI scripts
- you prefer synchronous, chainable shell-like commands in JavaScript
When to avoid
- you need full POSIX shell features like pipes, redirection, or job control
- you only target Unix systems and can just use Bash directly
- you need high-performance async file operations - Node's fs module may fit better
Facets
library · maturity stable
file-system cli developer-tools developer-tools cross-platform cross-platform cli unix-commands shell-scripting portable nodejs-library bash-replacement command-line automation nodejs
2 sources
- readme: https://github.com/shelljs/shelljs · fetched 2026-08-28 · 648fc3e24616
- registry_npm: https://registry.npmjs.org/shelljs · fetched 2026-08-29 · 3efcc2e181cd
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| shelljs/shelljs | main | 78 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem