knip

v5.86.0
  • Types
  • ESM

Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects

License
ISC
Install Size
1.5 MB/-
Vulns
0
Published

Get started

$npm install knip
$pnpm add knip
$yarn add knip
$bun add knip
$deno add npm:knip
$vlt install knip
# Run locally
$npx knip
$pnpm exec knip
$npx knip
$bunx knip
$deno run npm:knip
$vlx knip

Readme


Knip

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: