SLOC
simple tool to count SLOC (source lines of code)
sloc is a simple, fast tool for counting lines of code that’s designed to be used from both the command line and Node.js scripts. It tallies physical lines, source lines, comment lines, and blank lines, giving you a quick snapshot of code size across files or entire directories. The utility is language-aware through lightweight detectors and patterns, so it can ignore comments correctly and avoid counting generated or minified files if you configure it to. Output can be human-readable for...