tj/node-prune
Remove unnecessary files from node_modules (.md, .ts, ...) observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- 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: n/a
- age_days: 3210
- days_rel: n/a
- days_push: 1372
- n_releases_24m: 0
Adoption not part of the score
4425 stars · 132 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A small Go CLI tool that removes unnecessary files (markdown, TypeScript sources, etc.) from node_modules directories to reduce their size. It can be run manually or wired into npm postinstall scripts.
Use cases
- shrink node_modules before deploying serverless functions
- reduce size of docker images containing node apps
- clean up unnecessary files after npm install
- speed up packaging of node applications
When to choose
- you deploy node apps where node_modules size matters
- you want a fast, zero-config cleanup tool
When to avoid
- you need actively maintained tooling with recent updates
- you use package managers that already prune extraneous files
Facets
cli-tool · maturity maintenance
developer-tools cli compression file-system developer-tools backend cli windows go node-modules npm cleanup deployment-optimization command-line linux macos
1 source
- readme: https://github.com/tj/node-prune · fetched 2026-08-28 · f91390847fd1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tj/node-prune | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem