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:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s