microsoft/TypeScript

microsoft/TypeScript has 1,263,441 source lines of code out of 2,073,369 total lines across 22,286 files, counted from the main ref at commit 98add1bbed1c by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

As of 2026-10-22 (commit 98add1bbed1c), microsoft/TypeScript contains 2,073,369 total lines: 1,263,441 code, 610,877 comments, 199,051 blank, across 22,286 files in 11 languages (top: JavaScript 57.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

As of 2026-10-22 (commit 98add1bbed1c), microsoft/TypeScript contains 2,073,369 total lines: 1,263,441 code, 610,877 comments, 199,051 blank, across 22,286 files in 11 languages (top: JavaScript 57.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving microsoft/TypeScript to commit 98add1bbed1c, 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 60.9% of all lines, comments represent 29.5%, and the repository averages 57 code lines per file. JavaScript accounts for 57.9% of counted code.

LanguageFilesLinesCodeCommentsBlanks
JavaScript1329692817573163896487100050
Go8084130023434543053039018
JSON198101691101668023
TypeScript270144662843874970710568
YAML102181198618177
GNU Style Assembly351827714695
MSBuild1242004
NuGet Config17700
Shell26420
Markdown58227701713564
Plain Text7639480826043227448552

Top language (JavaScript 57.9%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does microsoft/TypeScript have?

microsoft/TypeScript has 2,073,369 total lines, including 1,263,441 code lines, 610,877 comment lines, and 199,051 blank lines.

How was the microsoft/TypeScript line count measured?

OctoCounts resolved the public GitHub repository to commit 98add1bbed1c, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for microsoft/TypeScript?

This OctoCounts report was generated from main at commit 98add1bbed1c on 2026-10-22T05:47:05.296693109+00:00.

Similar repository reports

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

Play the growth animation for microsoft/TypeScript on this page — 1,263,441 code lines across 11 languages, counted by tokei.