#88th of 53 in Code review and testing
knip
Finds unused dependencies, exports and files in JavaScript and TypeScript projects
- Stars
- 12.7k
- License
- ISC
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- TypeScript
11,019 on 28 Apr 202612,695 on 17 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Knip is a linter for JavaScript and TypeScript projects that reports unused dependencies, exports and files, and can fix them. It installs from npm with a config generator (`npm init @knip/config`) and runs as an npm script. Companion packages include a language server, a VS Code extension and an MCP server that lets a coding agent configure Knip.
Who it is for: JS/TS developers cleaning up unused code and dependencies
Ranked among open-source alternatives to CodeRabbit (#8 of 10).
Strengths
- Covers unused dependencies, exports and files in a single tool
- Config generator via `npm init @knip/config` for quick setup
- Ships a language server and VS Code and Open VSX extensions
- Official @knip/mcp server lets coding agents configure it
Weaknesses
- Limited to JavaScript and TypeScript projects
- Not an AI tool; the agent integration only helps with configuration
- README gives no plugin list or configuration examples; details live on knip.dev
What it needs
- no GPU
- Needs npm
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in Code review and testing
See all 53| Rank | Project | Score |
|---|---|---|
| 1 | playwrightCross-browser automation and end-to-end test framework for Chromium, Firefox and WebKit | 94 out of 100 |
| 2 | nxMonorepo build system with task caching, affected-only runs and CI integration | 94 out of 100 |
| 3 | open-code-reviewGo CLI that reviews Git diffs with an LLM agent and line-level comments | 92 out of 100 |
| #4 | bendDependent-typed language where AI-written code must prove rules in LAWS.bend | 89 out of 100 |
| #5 | maestroYAML-based UI and end-to-end test framework for Android, iOS and web | 89 out of 100 |