webpro-nl/knip
✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!
Knip helps JavaScript and TypeScript developers clean up their projects by identifying and removing code that is no longer used. It takes your existing codebase as input and outputs a report detailing unused files, dependencies, and code exports, allowing you to streamline your project. This tool is for software developers looking to optimize their web or application projects.
10,630 stars and 23,431,248 monthly downloads. Used by 39 other packages. Actively maintained with 147 commits in the last 30 days. Available on npm.
Use this if you are a JavaScript or TypeScript developer who wants to reduce project size, improve performance, and simplify future maintenance by removing dead code.
Not ideal if you are working with languages other than JavaScript or TypeScript, or if your primary goal is not code optimization through dead code removal.
Stars
10,630
Forks
384
Language
TypeScript
License
ISC
Category
Last pushed
Mar 23, 2026
Monthly downloads
23,431,248
Commits (30d)
147
Dependencies
15
Reverse dependents
39
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/webpro-nl/knip"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
abhigyanpatwari/GitNexus
GitNexus: The Zero-Server Code Intelligence Engine - GitNexus is a client-side knowledge...
Anandb71/arbor
Graph-native code intelligence that replaces embedding-based RAG with deterministic program...
Muvon/octocode
Semantic code searcher and codebase utility
rustic-ai/codeprism
An experimental, 100% AI-generated, high-performance code intelligence server providing AI...
AndreaGriffiths11/teamxray
Human discovery through code analysis - VS Code extension that reveals team expertise.