Last active
April 13, 2022 21:42
-
-
Save jbbn/d73b40b6fed6d2833637ab1a35a98fab to your computer and use it in GitHub Desktop.
Utilities for stats on codebases
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
cloc --exclude-dir=node_modules . |
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
find . -type f -not -path "*/node_modules/*" | sed -n 's/..*\.//p' | sort | uniq -c |
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
find . -type f -name "*.js" -not -path "*/node_modules/*" | xargs wc -l | sort -nr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment