Skip navigation
🔥 Find unused package.json dependencies with `npx depcheck`
0:00 / 0:33

🔥 Find unused package.json dependencies with `npx depcheck`

Wes Bos

@wesbos441K followers

Visit on X
1,130 likesDownloadOriginal post

118,414 views

🔥 Find unused package.json dependencies with `npx depcheck`

11 Comments

Comments from the original post on X (Twitter)

  • Usman S. 🇵🇸's profile picture

    @MaxProgramming1

    A little tip from my side. "npm un" is short for uninstall 😁

    7 likes

  • Wes Bos's profile picture

    @wesbos

    I never knew that! gonna start using it - thanks

    3 likes

  • omar's profile picture

    @awkroot

    I've found it unreliable many times. It marks certain deps as unused when they're in fact being used

    3 likes

  • Wes Bos's profile picture

    @wesbos

    It's worth doing a quick search for each one before you remove them - usually configs that take package names as strings, or assume a prefix like gatsby-plugin / eslint-plugin

  • flavio's profile picture

    @flaviocopes

    Damn TIL!

    3 likes

  • chan's profile picture

    @chantastic

    i like the your face as a drawer. reminds me of the Aqua days on mac

    1 like

  • Tushar's profile picture

    @ditsuke

    TIL!

    1 like

  • Kenny Krosky's profile picture

    @ispykenny

    Not all heroes wear capes.

  • maybe: dera 🫧's profile picture

    @definients

    WOWZA!

  • Henok Tsegaye's profile picture

    @henokcode

    Helpful! curious, what terminal are you using?

  • Wes Bos's profile picture

    @wesbos

    It's @warpdotdev

    3 likes