Stack Gems
Menu
← Catalog

Knip

ISC unused files, deps, and exports finder for JS/TS

Libraries / Libraries · ISC · 12.5k

Reviewed 2026-09-13 · last push 2026-10-18 · repo checked 2026-10-19

What's Good

ISC. webpro-nl/knip. CLI that finds unused files, dependencies, and exports across JS/TS projects (workspaces-aware). Docs at knip.dev; npm `knip`. Source github.com/webpro-nl/knip.

The Catch

Vs depcheck (deps-only) and eslint unused-import rules: Knip is the *project-wide dead-code map*, not a runtime tracer and not a type-checker. False positives show up with dynamic imports, config plugins, and “used by tooling not by app code” — you still tune entry points and ignore rules.

Verdict

ISC dead-code CLI. Free forever; delete what nothing reaches before the next dependency audit.

Embed

Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.

Reviewed on Stack Gems

Markdown

[![Reviewed on Stack Gems](https://stackgems.com/badge/knip.svg)](https://stackgems.com/gems/knip)

HTML

<a href="https://stackgems.com/gems/knip"><img src="https://stackgems.com/badge/knip.svg" alt="Knip reviewed on Stack Gems" height="20"></a>