webpro-nl/knip

✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 6 minutes ago
Added to GitGenius on September 5th, 2026
Created on October 4th, 2022
Open Issues & Pull Requests: 19 (+0)
GitHub issues: Enabled
Number of forks: 486
Total Stargazers: 12,195 (+0)
Total Subscribers: 16 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 8.3 hours
Mean response time: 8.4 days
90th percentile: 7.5 days
Tracked items: 737

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 11% of issues opened in the past year have been closed. Three people close 88% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 20
New in 7 days: 8
Closed in 7 days: 5
Avg open age: 50 days
Stale 30+ days: 5
Stale 90+ days: 0

Recent activity

Opened in 7 days: 8
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (333)
  • feature request (237)
  • discussion (70)
  • regression (38)
  • good first issue (17)
  • documentation (12)
  • question (3)
  • false positive (1)

Detailed Description

Knip is a linter that finds unused files, dependencies, and exports in JavaScript and TypeScript projects.

The tool addresses code bloat and maintenance burden by identifying dead code and unnecessary dependencies. It scans projects to detect unused exports, files that are not imported anywhere, and dependencies listed in package.json that the codebase does not actually use. By removing these artifacts before shipping, developers reduce bundle size, lower maintenance overhead, and simplify future refactoring work.

Knip suits teams working on JavaScript or TypeScript codebases of any size who want to keep their projects lean and maintainable. It is particularly valuable in monorepos and projects with complex dependency graphs where unused code can accumulate unnoticed. The tool integrates into development workflows as a linter and offers a VS Code extension for real-time feedback during editing. It also provides a language server and model context protocol support for integration into other development environments.

The project shows consistent, focused development activity. Maintenance is regular and responsive to issues and pull requests. The codebase demonstrates careful attention to code quality and testing practices. Development prioritizes stability and reliability in the core analysis engine rather than rapid feature expansion. The maintainer actively engages with the community through multiple channels and welcomes contributions through a documented process.