webpro-nl/knip
✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!
Star History
Add Live Star History & Verified Badges to README.md
Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.
Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.
[](https://githubrepo.cloud/repo/webpro-nl/knip?utm_source=readme_chart)
Compact Shields-style badges for your README header. Shows real-time stars and global ranking.
[](https://githubrepo.cloud/repo/webpro-nl/knip?utm_source=readme_badge) [](https://githubrepo.cloud/repo/webpro-nl/knip?utm_source=readme_badge) [](https://githubrepo.cloud/repo/webpro-nl/knip?utm_source=readme_badge)
Momentum
+310
STARS · LAST 30 DAYS
10
PER DAY
#130
MOST-STARRED TypeScript
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +70 | +310 | +900 |
| Per day | 10 | 10 | 10 |
| Forks gained | +3 | +10 | +25 |
knip gained 310 stars in the last 30 days, about 10 a day, and now has 12.4K. It is about 4 years old and has averaged roughly 3.1K stars a year. It ranks #130 among TypeScript repositories and #737 across all languages on GitHubRepo.
Trending Record
1
DAYS ON TRENDING
#2103
BEST RANK
Sep 30, 2026
FIRST APPEARANCE
Active
STATUS TODAY
knip has maintained a continuous presence across global trending indexes, peaking at #2103. Below is the 30-day activity profile:
💡 Overview
knip is an open-source project written in TypeScript: ✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!.
Engineered for speed, consistency, and developer ease, it solves common hurdles in deadcode, dependency-analysis, dependency-management. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in TypeScript for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ npm install knip
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
Node.js >= 18, npm, pnpm or bun
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
knip coordinates its core functionality through a modular TypeScript pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Autonomous AI Agents
Orchestrate intelligent workflows and tool-calling routines with knip.
Model Inference & Prompting
Integrate fast, local or cloud-hosted generative AI models directly into production code.
Context Memory & RAG
Augment language models with dynamic vector retrieval and structured project memory.
Developer Productivity
Automate repetitive engineering tasks, code generation, and test creation using AI agents.
🚀 Getting Started
Install knip using your package manager: `npm install knip`
Initialize your project workspace or configuration file for knip.
Import knip into your codebase or invoke it directly from your terminal.
Execute your test suite or run `knip --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with TypeScript, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
webpro-nl/knip is currently ranked #737 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #732 | openlayers/openlayers | JavaScript | ★ 12.6K | Compare ↗ |
| #733 | google/ax | Go | ★ 12.5K | Compare ↗ |
| #734 | grpc/grpc-rust | Rust | ★ 12.5K | Compare ↗ |
| #735 | sinatra/sinatra | Ruby | ★ 12.5K | Compare ↗ |
| #736 | Untrivial-ai/agent-orchestrator | Go | ★ 12.4K | Compare ↗ |
| #737 | webpro-nl/knip This Project | TypeScript | ★ 12.4K | |
| #738 | redis/jedis | Java | ★ 12.4K | Compare ↗ |
| #739 | assistant-ui/assistant-ui | TypeScript | ★ 12.4K | Compare ↗ |
| #740 | latent-spaces/brag | Python | ★ 12.3K | Compare ↗ |
| #741 | open-policy-agent/opa | Go | ★ 12.3K | Compare ↗ |
| #742 | future-architect/vuls | Go | ★ 12.3K | Compare ↗ |
Frequently Asked Questions
What does knip do? +
✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!
What language is knip written in? +
The primary language is TypeScript. Topics include: deadcode, dependency-analysis, dependency-management, javascript, lint.
Is knip actively maintained? +
Yes, the last recorded push was on Sep 30, 2026 with 17 open issues being tracked.
How many stars does knip have? +
knip has 12,383 stars and 507 forks on GitHub.
How does knip rank among GitHub repositories? +
With 12,383 stars, webpro-nl/knip is ranked #737 globally across all repositories tracked on GitHubRepo and #130 among TypeScript projects.
What license is knip distributed under? +
The repository reports a ISC license. Always verify the repository LICENSE file for legal terms.