Delete unused NPM packages in the project 🤓

If there are many NPM packages installed in the project but forgot to remove them in package.json

  • Run command 🥇
npx depcheck

This will list all unused NPM packages in the project and remove them from package.json

  • Run command
npm install

WELL DOWN 👍


Comments

Leave a Comment