/dev/nikc/blog

Kuolleiden purjehduskenkien seura

Nov 23rd 2015

One-liner to find bloated node_modules folders

12:26

A consequence of easily installable modules is that they inadvertently eat up quite a bit of disk space. Using find and du it’s easy to find the biggest culprits:

find $PROJECTS_HOME -name “node_modules” -prune -exec du -sh {} \;

Sorry, the comment form is closed at this time.

Meta

Pages

Search blog

Latest comments