MCPcopy Create free account
hub / github.com/webpro-nl/knip

github.com/webpro-nl/knip

Chat with this repo
repository ↗ · DeepWiki ↗ · release knip@6.40.0 ↗ · + Follow · compare 19 versions
3,954 symbols 14,174 edges 4,059 files ⚖ ISC 100 documented · 3% ● updated 44d agoknip@6.39.0 · 2026-09-30★ 12,40817 open issues

Browse by type

⨍ Functions 3,326◇ Types & classes 628
What it actually does AI analysis from the code graph — generated when you open this
loading…
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:

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 2,467
Method 859
Interface 298
Class 279
Enum 51

Languages

TypeScript100%

Modules by API surface

packages/knip/fixtures/yarn-pnp/.pnp.cjs695 symbols
packages/knip/src/plugins/eleventy/helpers.ts86 symbols
packages/knip/src/typescript/visitors/walk.ts80 symbols
packages/knip/src/plugins/angular/types.ts37 symbols
packages/knip/src/plugins/_vue/auto-import.ts37 symbols
packages/vscode-knip/src/index.js35 symbols
packages/knip/src/ConfigurationChief.ts33 symbols
packages/knip/src/util/input.ts32 symbols
packages/knip/fixtures/types/type-visibility/src/lib.ts31 symbols
packages/knip/src/DependencyDeputy.ts29 symbols
packages/knip/src/WorkspaceWorker.ts28 symbols
packages/knip/src/typescript/ast-nodes.ts27 symbols

Dependencies from manifests, versioned

@11ty/eleventy* · 1×
@11ty/eleventy-navigation* · 1×
@acmecorp/tailwind-base* · 1×
@actions/core* · 1×
@angular-builders/custom-esbuild* · 1×
@angular-devkit/build-angular* · 1×
@angular/build* · 1×
@angular/cli* · 1×
@angular/ssr* · 1×

For agents

$ claude mcp add knip \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page