sindresorhus/del
Delete files and directories observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 93
- Release rhythm 16
- 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: 346
- age_days: 4456
- days_rel: 349
- days_push: 43
- n_releases_24m: 2
Adoption not part of the score
1344 stars · 68 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
del is a Node.js library for deleting files and directories using glob patterns, with both Promise-based and synchronous APIs. It protects against accidentally deleting the current working directory and supports dry runs, ignore patterns, and multiple targets.
Use cases
- delete files matching glob patterns in node
- clean up build output directories
- remove temp files with glob patterns
- programmatically delete folders in a build script
- dry run to preview which files would be deleted
- rimraf alternative with promise api
When to choose
- you need glob-based file deletion in a Node.js script or build pipeline
- you want safety guards against deleting the cwd or parent directories
- you prefer a Promise API over rimraf's callback style
When to avoid
- you need to move files to trash/recycle bin instead of permanent deletion
- you are not working in a Node.js/JavaScript environment
- you need cross-platform shell-level deletion outside JavaScript
Facets
library · maturity stable
file-system developer-tools files developer-tools cross-platform file-deletion glob-patterns promise-api npm-package javascript automation nodejs
2 sources
- readme: https://github.com/sindresorhus/del · fetched 2026-08-28 · e95ac9ce5a87
- registry_npm: https://registry.npmjs.org/del · fetched 2026-08-29 · 74c995ebc140
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sindresorhus/del | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="sindresorhus/del")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem