Knip
✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!
Install / Use
/learn @webpro-nl/KnipREADME
<h1 align="center">
<br />
<a href="https://knip.dev">
<img height="200" width="200" src="https://knip.dev/favicon.svg" alt="Knip" />
</a>
<br />
<br />
</h1>
<div align="center">
</div>
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.
- Website: knip.dev
- GitHub repo: webpro-nl/knip
- Official npm packages: knip, @knip/create-config, @knip/language-server, @knip/mcp
- Knip on the VS Code Marketplace, Knip on the Open VSX Registry
- Contributing Guide
- Follow @webpro.nl on Bluesky for updates
- Sponsor Knip!
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:
