Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
July 17, 2021 07:39 pm GMT

Delete Node Modules like a PRO

Node modules are famous for being the heaviest object in the universe and deleting them is no joke. It takes a long of time and we even end up with freezed and unresponsive screens, but not anymore.

node-modules joke

There is an npm package that could help us to delete node modules faster and without any hassle.

npkill comes to the rescue!
npkill logo

You don't need to install npkill , just run npx npkill in your terminal

npx npkill

It will then scan for node_modules starting at the path where npkill command is executed and list them.

Move between the listed node modules folders with arrow keys, and press Space to delete it.

Select nodemodules and delete

Simple, isn't it?

Hope you liked the post and learned a trick along the way!

Hey! Before you go
If you enjoyed this trick, You can also follow me on

LinkedIN | Dev.to | Github | Twitter

Stay tuned for more such tricks


Original Link: https://dev.to/yaman27/delete-node-modules-like-a-pro-1m53

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To