The largest TypeScript repositories by lines of code
OctoCounts has measured 1,354 public GitHub repositories whose primary programming language is TypeScript. elastic/kibana is the largest, with 13,956,903 code lines across 116,536 files, counted with tokei on November 24, 2026. The table ranks the 50 largest by code lines; each row links to a report pinned to the commit it counted.
| Rank | Repository | Code lines | Total lines | Files | TypeScript share |
|---|---|---|---|---|---|
| 1 | elastic/kibana | 13,956,903 | 16,902,607 | 116,536 | 54.9% |
| 2 | OneUptime/oneuptime | 13,529,651 | 18,074,482 | 43,494 | 65.7% |
| 3 | botiverse/raft-source | 13,095,978 | 13,569,875 | 10,089 | 13.0% |
| 4 | openclaw/openclaw | 12,221,730 | 13,354,025 | 60,040 | 85.3% |
| 5 | simstudioai/sim | 11,984,841 | 12,637,567 | 25,292 | 29.3% |
| 6 | qgis/QGIS | 9,834,309 | 11,019,612 | 19,441 | 76.0% |
| 7 | foundryvtt/pf2e | 9,033,731 | 9,117,099 | 38,317 | 1.4% |
| 8 | googleapis/google-cloud-node | 7,915,047 | 16,234,111 | 12,817 | 55.5% |
| 9 | monkeytypegame/monkeytype | 7,506,108 | 7,559,216 | 1,647 | 0.7% |
| 10 | aws/aws-sdk-js-v3 | 7,317,794 | 15,333,830 | 43,126 | 39.6% |
| 11 | FreeCAD/FreeCAD | 7,126,250 | 7,794,304 | 11,044 | 66.0% |
| 12 | BuilderIO/agent-native | 7,006,531 | 7,870,381 | 30,074 | 74.4% |
| 13 | TheWeion/pf2e | 6,511,968 | 6,581,457 | 27,295 | 1.9% |
| 14 | corsairdev/corsair | 6,404,439 | 6,888,019 | 22,433 | 54.6% |
| 15 | elizaOS/eliza | 6,302,268 | 7,290,842 | 24,309 | 54.5% |
| 16 | teamchong/pxpipe | 5,831,079 | 6,490,898 | 5,139 | 0.4% |
| 17 | googleapis/google-api-nodejs-client | 5,497,260 | 8,882,557 | 3,563 | 48.6% |
| 18 | Azure/azure-sdk-for-js | 5,261,444 | 8,293,276 | 84,525 | 82.3% |
| 19 | QwenLM/qwen-code | 5,129,107 | 6,092,919 | 10,686 | 68.5% |
| 20 | LibreCAD/LibreCAD | 4,186,673 | 4,397,485 | 3,370 | 81.4% |
| 21 | stablyai/orca | 4,022,559 | 4,450,473 | 33,351 | 68.4% |
| 22 | makecindy/cindy | 3,774,104 | 4,399,924 | 14,494 | 42.1% |
| 23 | medusajs/medusa | 3,698,330 | 4,499,339 | 21,887 | 9.8% |
| 24 | mastra-ai/mastra | 3,617,426 | 4,796,619 | 18,694 | 70.4% |
| 25 | bitwarden/clients | 3,613,632 | 3,874,258 | 9,928 | 23.6% |
| 26 | lobehub/lobehub | 3,543,140 | 4,254,555 | 23,190 | 55.3% |
| 27 | ParadevAI/Paradev | 3,524,317 | 3,863,769 | 14,964 | 19.5% |
| 28 | plasmicapp/plasmic | 3,438,442 | 3,607,489 | 7,216 | 18.4% |
| 29 | aipoch/open-science | 3,296,152 | 3,535,658 | 8,759 | 63.6% |
| 30 | happier-dev/happier | 3,224,609 | 3,699,363 | 19,202 | 70.9% |
| 31 | DefinitelyTyped/DefinitelyTyped | 3,127,893 | 6,994,058 | 49,011 | 85.5% |
| 32 | GravitDesign/Designer | 3,100,434 | 3,169,911 | 6,339 | 12.3% |
| 33 | Agent-Threat-Rule/agent-threat-rules | 3,088,928 | 4,265,942 | 24,513 | 2.8% |
| 34 | n8n-io/n8n | 2,952,146 | 3,542,380 | 23,414 | 80.6% |
| 35 | ChromeDevTools/devtools-frontend | 2,935,245 | 3,250,444 | 5,593 | 27.9% |
| 36 | paperclipai/paperclip | 2,815,398 | 3,134,971 | 11,192 | 59.4% |
| 37 | microsoft/vscode | 2,785,381 | 3,566,485 | 11,854 | 83.3% |
| 38 | audacity/audacity | 2,760,456 | 3,795,002 | 4,164 | 59.0% |
| 39 | pingdotgg/t3code | 2,700,172 | 2,912,061 | 7,931 | 64.9% |
| 40 | crbnos/carbon | 2,616,959 | 3,157,382 | 9,925 | 47.9% |
| 41 | twentyhq/twenty | 2,616,653 | 4,600,438 | 36,388 | 48.1% |
| 42 | y5ez3g/facadecode | 2,590,529 | 3,310,993 | 11,118 | 76.0% |
| 43 | simplexai-labs/linger | 2,562,475 | 2,684,348 | 5,010 | 12.6% |
| 44 | fluxerapp/fluxer | 2,473,337 | 3,811,840 | 8,915 | 27.7% |
| 45 | ToolJet/ToolJet | 2,466,995 | 2,602,107 | 7,790 | 7.9% |
| 46 | cheaper-inference/OmniRoute | 2,428,953 | 2,760,118 | 8,650 | 32.3% |
| 47 | ever-co/ever-gauzy | 2,369,645 | 3,101,611 | 19,169 | 72.3% |
| 48 | apify/crawlee | 2,282,825 | 2,391,427 | 2,103 | 1.7% |
| 49 | mixxxdj/mixxx | 2,125,796 | 2,299,979 | 4,799 | 64.4% |
| 50 | can1357/oh-my-pi | 2,050,827 | 2,516,218 | 6,039 | 42.5% |
Ranking rule: a repository belongs to TypeScript when TypeScript is its largest programming language by code lines; data and prose formats such as JSON, YAML, TOML and Markdown do not count as a language for this rule. "TypeScript share" is the share of the repository's code lines written in TypeScript. Code lines exclude comments and blank lines. Every report uses OctoCounts' canonical public options, with tests, docs and generated directories excluded, and reports were generated on different dates.
TypeScript leaderboard FAQ
Which TypeScript repository has the most lines of code?
elastic/kibana is the largest TypeScript repository in OctoCounts' index, with 13,956,903 code lines out of 16,902,607 total lines across 116,536 files, counted on November 24, 2026. OneUptime/oneuptime follows with 13,529,651 code lines. Code size is not code quality: a larger count only means more source material.
How does a repository join the TypeScript leaderboard?
TypeScript must be its primary programming language: the language with the most code lines in the repository's OctoCounts report, ignoring data and prose formats such as JSON, YAML, TOML and Markdown. The repository then needs a public report with at least 5 files, and it is listed when it is among the 50 largest by code lines.
How many TypeScript repositories has OctoCounts measured?
1,354 public GitHub repositories have TypeScript as their primary programming language in OctoCounts' index. This page lists the 50 largest by code lines; a repository analyzed with custom counting options keeps those counts as a separate saved result.
Does more source lines of code mean more complexity?
Not necessarily. SLOC measures size, not complexity, quality, or maintainability. A larger codebase can mean more features, more generated or vendored code, more verbose language idioms, or more tests — none of which imply the code is harder to work with. Use line counts to gauge the scale of what you would be reading or maintaining, not as a quality signal.