Created
July 29, 2017 16:42
-
-
Save jpaulin/2295345ba711f1e06277283a6d24cf17 to your computer and use it in GitHub Desktop.
List any npm package folders, the wrong way: obviously bloated one (with 'cdu', the color du)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cdu -b ./node_modules/ | awk '{print $3}' | sed 's/\///g' | |
# We can do it this way. But let's not.. | |
# Dependencies: | |
# 'cdu', the "color du" | |
# Compile it via sources. | |
# And hey, the -b switch used here for cdu actually counteracts the tool's | |
# main powers of existence, because -b means "do it black-and-white" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment