facebook/lexical has 221,498 source lines of code out of 288,418 total lines across 1,517 files, counted from the main ref at commit 1553d0fa6f01 by the OctoCounts tokei engine on 2026-10-05. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-05 (commit 1553d0fa6f01), facebook/lexical contains 288,418 total lines: 221,498 code, 46,369 comments, 20,551 blank, across 1,517 files in 14 languages (top: TypeScript 59.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving facebook/lexical to commit 1553d0fa6f01, 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 large codebase by counted code lines. Code represents 76.8% of all lines, comments represent 16.1%, and the repository averages 146 code lines per file. TypeScript accounts for 59.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 548 | 169437 | 131116 | 29812 | 8509 |
| TSX | 248 | 41625 | 34343 | 4171 | 3111 |
| YAML | 26 | 28261 | 22876 | 169 | 5216 |
| JavaScript | 125 | 18305 | 12068 | 5050 | 1187 |
| JSON | 135 | 10017 | 9966 | 0 | 51 |
| CSS | 77 | 11811 | 9860 | 678 | 1273 |
| HTML | 34 | 673 | 656 | 15 | 2 |
| SVG | 230 | 434 | 434 | 0 | 0 |
| Python | 1 | 129 | 74 | 36 | 19 |
| Swift | 3 | 119 | 69 | 23 | 27 |
| Svelte | 2 | 40 | 34 | 2 | 4 |
| Xcode Config | 1 | 14 | 2 | 9 | 3 |
Top language (TypeScript 59.2%). Generated at .
facebook/lexical has 288,418 total lines, including 221,498 code lines, 46,369 comment lines, and 20,551 blank lines.
OctoCounts resolved the public GitHub repository to commit 1553d0fa6f01, 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 1553d0fa6f01 on 2026-10-05T17:14:26.635117822+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for facebook/lexical on this page — 221,498 code lines across 12 languages, counted by tokei.