DEV Community

Cover image for How to find and remove Unused Dependencies in Your project with Depcheck
Martins Gouveia
Martins Gouveia

Posted on

How to find and remove Unused Dependencies in Your project with Depcheck

Depcheck is a tool for analyzing the dependencies in a project.

It can help you see how each dependency is used, which dependencies are useless, and which dependencies are missing from your package.json file.

To use it, you can install it globally with npm install -g depcheck or simply use npx depcheck if you have npx installed.

Depcheck: https://www.npmjs.com/package/depcheck

Top comments (0)