webpro-nl/knip

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

92
/ 100
Verified

Knip helps JavaScript and TypeScript developers clean up their projects by identifying and removing code that is no longer used. It takes your existing codebase as input and outputs a report detailing unused files, dependencies, and code exports, allowing you to streamline your project. This tool is for software developers looking to optimize their web or application projects.

10,630 stars and 23,431,248 monthly downloads. Used by 39 other packages. Actively maintained with 147 commits in the last 30 days. Available on npm.

Use this if you are a JavaScript or TypeScript developer who wants to reduce project size, improve performance, and simplify future maintenance by removing dead code.

Not ideal if you are working with languages other than JavaScript or TypeScript, or if your primary goal is not code optimization through dead code removal.

JavaScript development TypeScript development Code optimization Software project maintenance Dependency management
Maintenance 25 / 25
Adoption 25 / 25
Maturity 25 / 25
Community 17 / 25

How are scores calculated?

Stars

10,630

Forks

384

Language

TypeScript

License

ISC

Last pushed

Mar 23, 2026

Monthly downloads

23,431,248

Commits (30d)

147

Dependencies

15

Reverse dependents

39

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/webpro-nl/knip"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.