npx depcheck

Category: Node.js & npm/yarn

npx depcheck

Analyze your project and report unused dependencies and missing packages

Analyzes your code and package.json to find packages you installed but never import, and packages you import but forgot to list — keeps dependencies tidy.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.