22
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.
There is an npm package that could help us to delete node modules faster and without any hassle.
You don't need to install npkill , just run npx npkill in your terminal
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.
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
Stay tuned for more such tricks β¨
22