Skip to content

Instantly share code, notes, and snippets.

@dubbha
Last active January 18, 2022 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dubbha/13e6d8e067c6370756e89abc0a3ae930 to your computer and use it in GitHub Desktop.
Save dubbha/13e6d8e067c6370756e89abc0a3ae930 to your computer and use it in GitHub Desktop.
count lines of code

npx cloc src

$ npx cloc src
npx: installed 1 in 2.296s
    1364 text files.
    1287 unique files.
      91 files ignored.

github.com/AlDanial/cloc v 1.92  T=1.54 s (836.2 files/s, 37198.7 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
TypeScript                    1211           5696            228          50120
JavaScript                      66            134              0            708
SVG                              7              0              0            328
CSS                              1              0              0             21
EJS                              1              0              4             11
HTML                             1              0              0              2
-------------------------------------------------------------------------------
SUM:                          1287           5830            232          51190
-------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment