Created
October 25, 2018 20:08
-
-
Save acdvorak/706227c1458cfbff229e313c2a8ebc31 to your computer and use it in GitHub Desktop.
NPM module disk space calculator
This file contains 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
#!/bin/bash | |
cd "$TMPDIR" | |
mkdir npm-dep-size | |
cd npm-dep-size | |
npm install @material/top-app-bar | |
du -h -d 0 node_modules | |
# OUTPUT: 736K node_modules |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment