As of 2026-08-28 (commit 4cbfcfa17ade), facebook/docusaurus contains 365,954 total lines: 98,804 code, 189,863 comments, 77,287 blank, across 2,573 files in 14 languages (top: TypeScript 36.4%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving facebook/docusaurus to commit 4cbfcfa17ade, 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 medium-sized codebase by counted code lines. Code represents 27.0% of all lines, comments represent 51.9%, and the repository averages 38 code lines per file. TypeScript accounts for 36.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 420 | 49176 | 35928 | 8192 | 5056 |
| YAML | 63 | 27547 | 23566 | 58 | 3923 |
| TSX | 371 | 25296 | 19794 | 3526 | 1976 |
| JSON | 314 | 11036 | 11032 | 0 | 4 |
| CSS | 162 | 5023 | 3277 | 1049 | 697 |
| JavaScript | 50 | 3844 | 2702 | 782 | 360 |
| SVG | 32 | 2051 | 2049 | 0 | 2 |
| XSL | 4 | 376 | 356 | 12 | 8 |
| TOML | 2 | 68 | 42 | 9 | 17 |
| Shell | 2 | 78 | 38 | 18 | 22 |
| HTML | 2 | 20 | 20 | 0 | 0 |
| MDX | 1084 | 230014 | 0 | 166676 | 63338 |
Top language (TypeScript 36.4%). Generated at 2026-08-28T09:08:13.284423862+00:00.
facebook/docusaurus has 365,954 total lines, including 98,804 code lines, 189,863 comment lines, and 77,287 blank lines.
OctoCounts resolved the public GitHub repository to commit 4cbfcfa17ade, 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 main at commit 4cbfcfa17ade on 2026-08-28T09:08:13.284423862+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: