Search and Destroy – Free up disk space

Many open source projects and tools use NodeJs as base. As result we can have your disk filled by the sinister “node_modules” without even noticing.

I wrote a little script to search and destroy those little bastards:

More the 2.5GB in libraries I didn’t use for months.

The code can be found bellow:

https://gist.github.com/maatthc/8caa1e167177d56986563cf3b14196a3

Leave a Reply

Your email address will not be published. Required fields are marked *