LOC.1999
Enter a repository. We will count the lines. That is all.
sindresorhus/got
cached
Totals
| Total lines | 50,712 | 100.0% |
| Code | 39,244 | 77.4% |
| Comments | 2,293 | 4.5% |
| Blank | 9,175 | 18.1% |
| Files counted | 124 | 1.3 MB |
By language
| Language | Files | Code | Comment | Blank | Lines | Share |
| TypeScript |
79 |
34,446 |
2,221 |
7,412 |
44,079 |
86.9% |
| Markdown |
27 |
4,257 |
23 |
1,681 |
5,961 |
11.8% |
| JavaScript |
6 |
317 |
49 |
76 |
442 |
0.9% |
| JSON |
2 |
170 |
0 |
0 |
170 |
0.3% |
| YAML |
2 |
27 |
0 |
0 |
27 |
0.1% |
| INI |
1 |
10 |
0 |
2 |
12 |
0.0% |
| Ignore List |
2 |
8 |
0 |
0 |
8 |
0.0% |
| Text |
1 |
5 |
0 |
4 |
9 |
0.0% |
| Other |
3 |
3 |
0 |
0 |
3 |
0.0% |
| SVG |
1 |
1 |
0 |
0 |
1 |
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 |
| test/hooks.ts | TypeScript | 5,193 |
| source/core/options.ts | TypeScript | 3,732 |
| test/https.ts | TypeScript | 3,574 |
| test/redirects.ts | TypeScript | 3,485 |
| test/pagination.ts | TypeScript | 2,835 |
| source/core/index.ts | TypeScript | 2,658 |
| source/core/utils/http2-client.ts | TypeScript | 1,580 |
| test/dns-cache.ts | TypeScript | 1,500 |
| test/timeout.ts | TypeScript | 1,440 |
| test/retry.ts | TypeScript | 1,374 |
Repository
| Repository | sindresorhus/got |
| Ref | main (default branch) |
| Commit | e3924aa1e5 |
| Stars | 14,929 |
| Repo size | 3,773 KB (git) |
| Counted in | 0.31s (tarball strategy, 5 GitHub requests) |
| Counter version | 1.1.0 |
Skipped
| Vendored / build output | 0 |
| Generated (incl. lockfiles) | 0 |
| Binary | 3 |
| Too large | 0 |
| Other | 0 |
Permalink:
/r/sindresorhus/got/e3924aa1e5
·
JSON
Ranked #21 of 25 on
the standings, at 3.4 lines of code per star.