webpro-nl/knip

Finds unused files, deps and exports in JS/TS

What

Finds unused files, dependencies and exports in JS/TS projects, with plugins for common frameworks.

How to use

bash
npm init @knip/config
npx knip

Reach for it when

cleaning dead code and stale dependencies.