December 13, 2020


I came across this one on Twitter. I'll add a link later when I build tweet embeds.

This node module is a tool that let's you quickly and easily delete the node_modules lurking unused on your computer.

First, cd into the directory where you keep repos or npm packages. Then run:

npx npkill

With just a quick 5 minutes of using the tool I freed up ~20GB.