Knip

Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!
GitHub
8.14k
Created 3 years ago, last commit 15 hours ago
143 contributors
3.15k commits
Stars added on GitHub, month by month
5
6
7
8
9
10
11
12
1
2
3
4
2024
2025
Stars added on GitHub, per day, on average
Yesterday
+1
Last week
+7.6
/day
Last month
+6.6
/day
Last 12 months
+6.4
/day
npmPackage on NPM
knip
5.58.0
Monthly downloads on NPM
5
6
7
8
9
10
11
12
1
2
3
4
2024
2025
README

NPM Version NPM Downloads GitHub Repo stars

Knip finds and fixes unused dependencies, exports and files 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 Knip!

Knip

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

License

Knip is free and open-source software licensed under the ISC License.

Parts of Knip have been inspired by and/or partially copy code from the following projects: