DefinitelyTyped/DefinitelyTyped SLOC report

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.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
TypeScript30713654102326974693378339465215
JSON18229388666388656010
TSX623795626867734957390
JavaScript1635053045194266
Shell38254721
YAML271382013
Markdown838191055852606
Plain Text26060

Top language (TypeScript 85.4%). Generated at .

Report FAQ

How many lines of code does DefinitelyTyped/DefinitelyTyped have?

DefinitelyTyped/DefinitelyTyped has 7,021,106 total lines, including 3,157,939 code lines, 3,387,646 comment lines, and 475,521 blank lines.

How was the DefinitelyTyped/DefinitelyTyped line count measured?

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.

What commit was counted for DefinitelyTyped/DefinitelyTyped?

This OctoCounts report was generated from eeb97b1fbc40dda07a7384f576548884cbefbfad at commit eeb97b1fbc40 on 2026-09-06T12:48:38.160080406+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: