LOC.1999
Enter a repository. We will count the lines. That is all.
prettier/prettier
cached
Totals
| Total lines | 239,918 | 100.0% |
| Code | 185,229 | 77.2% |
| Comments | 18,600 | 7.8% |
| Blank | 36,089 | 15.0% |
| Files counted | 7,652 | 5.9 MB |
By language
| Language | Files | Code | Comment | Blank | Lines | Share |
| 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
| File | Language | Lines |
| CHANGELOG.md | Markdown | 5,476 |
| tests/format/flow/flow-repo/type-printer/types.js | JavaScript | 5,045 |
| tests/format/flow/flow-repo/union/yuge.js | JavaScript | 5,031 |
| tests/format/flow/flow-repo/union-intersection/gen_big_disjoint_union.js | JavaScript | 4,003 |
| website/blog/2026-06-27-3.9.0.md | Markdown | 2,635 |
| website/blog/2020-08-24-2.1.0.md | Markdown | 2,319 |
| src/language-js/types/flow-estree.d.ts | TypeScript | 2,223 |
| website/blog/2023-07-05-3.0.0.md | Markdown | 2,148 |
| website/blog/2025-11-27-3.7.0.md | Markdown | 1,909 |
| website/blog/2020-03-21-2.0.0.md | Markdown | 1,862 |
Repository
| Repository | prettier/prettier |
| Ref | main (default branch) |
| Commit | 315f281982 |
| Stars | 52,170 |
| Repo size | 178,205 KB (git) |
| Counted in | 0.47s (tarball strategy, 5 GitHub requests) |
| Counter version | 1.1.0 |
Skipped
| Vendored / build output | 146 |
| Generated (incl. lockfiles) | 1,484 |
| Binary | 83 |
| Too large | 0 |
| Other | 0 |
Permalink:
/r/prettier/prettier/315f281982
·
JSON
Ranked #23 of 25 on
the standings, at 4.6 lines of code per star.