Knip: Finding Dead Code, Unused Exports, and Unused Dependencies
How Knip finds unused files, exports, and dependencies in a JavaScript or TypeScript project. Setup, how it works, handling false positives, auto-fix, production mode, and how to run it in Git hooks and CI.