webpro-nl/knip
✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it! observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- 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: 1.0
- age_days: 1429
- days_rel: 7
- days_push: 7
- n_releases_24m: 215
Adoption not part of the score
12117 stars · 477 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Knip is a CLI linter that finds unused files, dependencies, and exports in JavaScript and TypeScript projects, including monorepos. It uses framework-aware entry point analysis with 150+ plugins for tools like Next.js, Vite, Jest, and Storybook.
Use cases
- find unused dependencies in package.json
- detect dead code and unused exports in a TypeScript project
- clean up unused files in a monorepo
- prune package.json before shipping
- find which exports are never imported
- integrate dead code detection into CI
When to choose
- you maintain a JavaScript or TypeScript codebase and want to remove dead code
- you want framework-aware analysis with plugins for your build tools and test runners
- you work in a monorepo and need accurate entry point detection
- you want to keep package.json free of unused dependencies
When to avoid
- your project is not JavaScript or TypeScript
- you need general-purpose linting of code style or bugs (use ESLint instead)
- you need runtime dependency vulnerability scanning (use a security auditor instead)
Facets
cli-tool · maturity active
linter static-site-generator developer-tools dependency-audit code-review developer-tools frontend web-development cli cross-platform unused-code dead-code-detection dependency-analysis typescript monorepo code-hygiene mcp-server javascript code-quality nodejs
3 sources
- readme: https://github.com/webpro-nl/knip · fetched 2026-08-28 · b0443f4bc708
- homepage: https://knip.dev · fetched 2026-08-29 · 2cc9166d3ffc
- site_page: https://knip.dev/overview/getting-started · fetched 2026-08-29 · 683e20d505c9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| webpro-nl/knip | main | 95 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem