#88th of 53 in Code review and testing

knip

Finds unused dependencies, exports and files in JavaScript and TypeScript projects

Releases and problems feed (RSS)

Stars
12.7k
License
ISC
Last commit
Nov 2026
Last release
Nov 2026
Language
TypeScript
Stars, last 29 weeks+1,676
28 Apr 2026: 11,019 stars5 May 2026: 11,068 stars12 May 2026: 11,127 stars19 May 2026: 11,183 stars26 May 2026: 11,239 stars2 Jun 2026: 11,283 stars9 Jun 2026: 11,350 stars16 Jun 2026: 11,422 stars23 Jun 2026: 11,487 stars30 Jun 2026: 11,559 stars7 Jul 2026: 11,618 stars14 Jul 2026: 11,677 stars21 Jul 2026: 11,726 stars28 Jul 2026: 11,776 stars4 Aug 2026: 11,826 stars11 Aug 2026: 11,879 stars18 Aug 2026: 11,921 stars25 Aug 2026: 12,060 stars1 Sept 2026: 12,106 stars8 Sept 2026: 12,169 stars15 Sept 2026: 12,229 stars22 Sept 2026: 12,292 stars29 Sept 2026: 12,344 stars6 Oct 2026: 12,380 stars13 Oct 2026: 12,428 stars20 Oct 2026: 12,465 stars27 Oct 2026: 12,520 stars3 Nov 2026: 12,586 stars10 Nov 2026: 12,633 stars17 Nov 2026: 12,695 stars

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
Also in Code review and testing
RankProjectScore
1playwrightCross-browser automation and end-to-end test framework for Chromium, Firefox and WebKit100.6k starsApache-2.094 out of 100
2nxMonorepo build system with task caching, affected-only runs and CI integration29.5k stars+106 (+0.4%) in 30 daysMIT94 out of 100
3open-code-reviewGo CLI that reviews Git diffs with an LLM agent and line-level comments54.3k stars+6,546 (+14%) in 30 daysApache-2.092 out of 100
#4bendDependent-typed language where AI-written code must prove rules in LAWS.bend Live demo ↗ (opens in a new tab)25.5k starsApache-2.089 out of 100
#5maestroYAML-based UI and end-to-end test framework for Android, iOS and web16.5k stars+344 (+2.1%) in 30 daysApache-2.089 out of 100