With projects that use npm, it's easy to make two mistakes: ❌ Unused...


With projects that use npm, it's easy to make two mistakes:

❌ Unused packages in package.json
❌ Using packages that aren't in package.json

To catch both these mistakes, do this:

npx depcheck 👍

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

#npm

View original on X