跳过导航
🔥 Find unused package.json dependencies with `npx depcheck`
0:00 / 0:33

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

Wes Bos

@wesbos44万 位关注者

在 X 上查看
1,130 个赞下载原帖

118,414 次观看

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

11 条评论

评论来自 X (Twitter) 上的原帖

  • Usman S. 🇵🇸 的头像

    @MaxProgramming1

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

    7 个赞

  • Wes Bos 的头像

    @wesbos

    I never knew that! gonna start using it - thanks

    3 个赞

  • omar 的头像

    @awkroot

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

    3 个赞

  • Wes Bos 的头像

    @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 的头像

    @flaviocopes

    Damn TIL!

    3 个赞

  • chan 的头像

    @chantastic

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

    1 个赞

  • Tushar 的头像

    @ditsuke

    TIL!

    1 个赞

  • Kenny Krosky 的头像

    @ispykenny

    Not all heroes wear capes.

  • maybe: dera 🫧 的头像

    @definients

    WOWZA!

  • Henok Tsegaye 的头像

    @henokcode

    Helpful! curious, what terminal are you using?

  • Wes Bos 的头像

    @wesbos

    It's @warpdotdev

    3 个赞