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
- npm package: knip
- Discord
- Contributing Guide
- 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:
- @npmcli/package-json (ISC)
- @pnpm/deps.graph-sequencer (MIT)
- file-entry-cache ([MIT][14])
- json-parse-even-better-errors (MIT)
[5]: https://img.shields.io/github/stars/webpro-nl/knip?style=flat-square&color=f56e0f
[14]: https://github.com/jaredwray/cacheable/blob/main/packages/file-entry-cache/LICENSE