As of 2026-09-06 (commit eeb97b1fbc40), DefinitelyTyped/DefinitelyTyped contains 7,021,106 total lines: 3,157,939 code, 3,387,646 comments, 475,521 blank, across 49,671 files in 8 languages (top: TypeScript 85.4%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving DefinitelyTyped/DefinitelyTyped to commit eeb97b1fbc40, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.
This is a very large codebase by counted code lines. Code represents 45.0% of all lines, comments represent 48.2%, and the repository averages 64 code lines per file. TypeScript accounts for 85.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 30713 | 6541023 | 2697469 | 3378339 | 465215 |
| JSON | 18229 | 388666 | 388656 | 0 | 10 |
| TSX | 623 | 79562 | 68677 | 3495 | 7390 |
| JavaScript | 16 | 3505 | 3045 | 194 | 266 |
| Shell | 3 | 82 | 54 | 7 | 21 |
| YAML | 2 | 71 | 38 | 20 | 13 |
| Markdown | 83 | 8191 | 0 | 5585 | 2606 |
| Plain Text | 2 | 6 | 0 | 6 | 0 |
Top language (TypeScript 85.4%). Generated at .
DefinitelyTyped/DefinitelyTyped has 7,021,106 total lines, including 3,157,939 code lines, 3,387,646 comment lines, and 475,521 blank lines.
OctoCounts resolved the public GitHub repository to commit eeb97b1fbc40, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from eeb97b1fbc40dda07a7384f576548884cbefbfad at commit eeb97b1fbc40 on 2026-09-06T12:48:38.160080406+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: