LOC.1999

Enter a repository. We will count the lines. That is all.


prettier/prettier cached

Totals
Total lines239,918100.0%
Code185,22977.2%
Comments18,6007.8%
Blank36,08915.0%
Files counted7,6525.9 MB

By language

LanguageFilesCodeCommentBlankLinesShare
JavaScript 4,978 110,053 13,698 16,834 140,585 58.6%
Markdown 430 39,087 2,342 13,202 54,631 22.8%
TypeScript 674 11,528 1,346 1,882 14,756 6.2%
CSS 183 5,619 253 1,052 6,924 2.9%
HTML 242 3,647 280 613 4,540 1.9%
YAML 395 3,056 251 496 3,803 1.6%
SCSS 91 2,589 128 421 3,138 1.3%
Less 43 2,010 54 548 2,612 1.1%
JSX 14 1,735 50 180 1,965 0.8%
JSON 125 1,514 0 10 1,524 0.6%
Vue 97 1,309 24 179 1,512 0.6%
Handlebars 88 1,300 56 341 1,697 0.7%
GraphQL 69 794 91 206 1,091 0.5%
TSX 21 303 9 50 362 0.2%
Other 90 284 0 39 323 0.1%
JSON with Comments 16 152 12 6 170 0.1%
Ignore List 23 95 0 5 100 0.0%
SVG 59 80 0 1 81 0.0%
INI 5 39 3 13 55 0.0%
Shell 3 19 3 7 29 0.0%
TOML 3 10 0 1 11 0.0%
Text 3 6 0 3 9 0.0%

Comment detection is not available for: Ignore List, JSON, Other, Text. For those files every non-blank line is counted as code. How we count.

Biggest files

FileLanguageLines
CHANGELOG.mdMarkdown5,476
tests/format/flow/flow-repo/type-printer/types.jsJavaScript5,045
tests/format/flow/flow-repo/union/yuge.jsJavaScript5,031
tests/format/flow/flow-repo/union-intersection/gen_big_disjoint_union.jsJavaScript4,003
website/blog/2026-06-27-3.9.0.mdMarkdown2,635
website/blog/2020-08-24-2.1.0.mdMarkdown2,319
src/language-js/types/flow-estree.d.tsTypeScript2,223
website/blog/2023-07-05-3.0.0.mdMarkdown2,148
website/blog/2025-11-27-3.7.0.mdMarkdown1,909
website/blog/2020-03-21-2.0.0.mdMarkdown1,862

Repository

Repositoryprettier/prettier
Refmain (default branch)
Commit315f281982
Stars52,170
Repo size178,205 KB (git)
Counted in0.47s (tarball strategy, 5 GitHub requests)
Counter version1.1.0

Skipped

Vendored / build output146
Generated (incl. lockfiles)1,484
Binary83
Too large0
Other0

Permalink: /r/prettier/prettier/315f281982 · JSON

Ranked #23 of 25 on the standings, at 4.6 lines of code per star.