Find unused files, dependencies and exports in your TypeScript and JavaScript projects


Keywords
analysis, analyze, class, cli, dead code, dependencies, detect, devDependencies, duplicate, entropy, enum, export, files, find, javascript, lint, maintenance, members, missing, monorepo, namespace, package, scan, types, typescript, unreferenced, unresolved, unused, workspace, dependencies-checking, dependency-analysis, elimination, unused-code, unused-exports, unused-imports
License
ISC
Install
npm install knip@0.1.2

Documentation

NPM Version NPM Downloads GitHub Repo stars

Knip finds unused files, dependencies and exports in your JavaScript and TypeScript projects. Less code and dependencies lead to improved performance, less maintenance and easier refactorings.

Contributors

Special thanks to the wonderful people who have contributed to this project:

Contributors

Knip

/'knɪp/ means "(to) cut" and is pronounced with a hard "K" 🇳🇱