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)

Cloudinary image

Video API: manage, encode, and optimize for any device, channel or network condition. Deliver branded video experiences in minutes and get deep engagement insights.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay