Kuolleiden purjehduskenkien seura

Nov 23rd 2015

One-liner to find bloated node_modules folders


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 {} \;

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>



Search blog

Latest comments