✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!
- Updated
Oct 10, 2025 - TypeScript
✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!
Find unused class variables and methods in a typescript project
✂️ 在你的小程序项目中查找未使用的文件、依赖项和导出项。一键清理它们!
Deadcode Detective is a fast and easy-to-use CLI tool that identifies unused code in JavaScript, TypeScript, and Python projects. Powered by ts-prune and vulture, it scans your codebase and generates actionable, color-coded reports to help you clean up dead functions, variables, and exports.
Add a description, image, and links to the deadcode topic page so that developers can more easily learn about it.
To associate your repository with the deadcode topic, visit your repo's landing page and select "manage topics."