Created
April 15, 2016 10:50
-
-
Save easternbloc/fd2007600120531f1bb23cedb2129556 to your computer and use it in GitHub Desktop.
find npm modules with large dependencies. Probably only works on npm < 3
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
npm list --json | jq '. as $root | .dependencies as $dep | ($root.dependencies | keys[] as $key | $key, ($root.dependencies[$key].dependencies| length))' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment