🔥 Find unused package.json dependencies with `npx depcheck`
118,414 次观看
🔥 Find unused package.json dependencies with `npx depcheck`
11 条评论
评论来自 X (Twitter) 上的原帖

@MaxProgramming1
A little tip from my side. "npm un" is short for uninstall 😁
7 个赞

@wesbos
I never knew that! gonna start using it - thanks
3 个赞

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

@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

@flaviocopes
Damn TIL!
3 个赞

@chantastic
i like the your face as a drawer. reminds me of the Aqua days on mac
1 个赞

@ditsuke
TIL!
1 个赞

@ispykenny
Not all heroes wear capes.

@definients
WOWZA!

@henokcode
Helpful! curious, what terminal are you using?

@wesbos
It's @warpdotdev
3 个赞