BigHugger
GH Repository · webpro-nl

knip

✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!

stars
12,276
30-day movement
+4214/day
Related entries
61
Connections
3
node/pnpmdependency-analysislintnodemaintenancetypescriptunused-codeunused-exportsdependency-managementjavascriptlinterTypeScriptdeadcodeother

Knip is a linter-style tool that detects unused files, dependencies and exports in JavaScript and TypeScript projects. It analyzes your codebase to surface dead code and dependency-management issues.

Reach for it when you want to keep a JavaScript or TypeScript codebase free of unused files, dependencies and exports.

Use it to

  • Find unused dependencies in package.
  • Detect unused exports across a codebase
  • Locate dead files not referenced anywhere
  • Run dead-code checks in CI maintenance

For JavaScript and TypeScript developers maintaining codebases

Role
other
Language
TypeScript
Licence
ISC
Forks
493
Open issues
10
Last push
2026-09-16
Latest release
0.0.1 · 2022-10-04
topicsdependency-analysislintunused-codetypescriptjavascriptmaintenance