在你的 JavaScript 和 TypeScript 项目中查找未使用的文件、依赖项和导出。发布前先用 Knip 检查一遍!
unused-code 开源项目推荐(46 个)
unused-code 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 前 20
按 Star 数排序展示前 20 个 · GitHub 共 46 个仓库面向 TypeScript 和 JavaScript 的代码库洞察。健康度、复杂度热点、重复代码、架构边界、循环依赖、设计系统漂移和未使用代码,均来自同一张图。提供 CLI、GitHub Action、LSP、MCP 和 VS Code 集成。采用 Rust 编写,MIT 许可。
💀 通过 PHPStan 扩展检测 PHP 未使用代码。能检测死循环,支持像Laravel、Symfony、Twig、Doctrine、PHPUnit等库。可以自动删除死掉的PHP代码。能够检测仅用于测试的死代码。查找未使用的方法、常数、属性和枚举情况。
Find and fix unused Python code using command line.
Canyon is a JavaScript code coverage solution.
一个用 Rust 编写的极速 Python 死代码查找器。
Find unused ruby methods and constants and etc
Detect unused pub methods in a Rust workspace
Find declared but unused Angular classes in your codebase.
Stop LLM crimes in your codebase
fallow for Neovim — see your unused code, dups, and health in a native split
Find unused code at the outskirts of your Swift project. Free and open source, started as a fork of Periphery 3.x.
Framework-aware dead-code analyzer for Python. Models FastAPI, Dishka, pytest and application entry points. Finds unrequested DI bindings and test-only code, with explainable JSON reports for developers and AI agents. Static and read-only.
✂️ 一键清理小程序项目中未使用的文件、依赖项和导出项。
Detects unused classes in your codebase.
Dead Code Detector is a Gradle plugin that helps you find unused classes, functions, resources, and dependencies in your Kotlin/Java projects.
用于爆炸半径分析和死代码检测器及静态分析工具差分测试的入门项目,覆盖固定的真实世界项目
Schema-free CLI that finds unused GraphQL operations, fragments and orphaned .gql files by scanning your source tree. No server, schema or introspection needed.
Find and remove dead code in React, Next.js, and Python projects
Fast, zero-dependency Dart & Flutter dead code, media assets & packages remediation engine. Features an interactive TUI dashboard with live audit progress bars, verified safe cleanup for unused classes, widgets, dead blocks, imports & pubspec dependencies, and instant 1-step rollback.
关于这个话题
- 清单按 Star 数挑选该话题下最热门的 20 个项目,对应的话题主页见 https://github.com/topics/unused-code。
- 该话题在 GitHub 上共有 46 个仓库, 这里呈现的是其中最具代表性的 20 个,不是全量列表。
- 星标与复刻数以 GitHub 上的实时数字为准。
- 当前 20 个项目累计 2 万 Star,覆盖 10 种主要语言。
- 中文简介由本站编译整理,可点「查看原文」对照项目方提供的原始说明。