Deleting node modules
Despite my best efforts and the fact that I am mostly an aspiring :go-gandalf: now
![](https://blog.jugglingjsons.dev/content/images/2022/12/image-1.png)
my Mac got full of node modules again! Handy command to the rescue:
npx npkill
npkill
List any node_modules directories in your system, as well as the space they take up. You can then select which ones you want to erase to free up space.. Latest version: 0.10.0, last published: a month ago. Start using npkill in your project by running `npm i npkill`. There are no other projects in t…
![](https://static.npmjs.com/338e4905a2684ca96e08c7780fc68412.png)
I would have thought his package is more popular, apparently not many people forget to delete projects that haven't received any love for extended periods of time!
Great help and a reminder that a popular joke may still be true.
![](https://blog.jugglingjsons.dev/content/images/2022/12/image.png)
Member discussion