facebook/lexical has 222,995 source lines of code out of 290,568 total lines across 1,520 files, counted from the main ref at commit 4f385cd03afa 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 4f385cd03afa), facebook/lexical contains 290,568 total lines: 222,995 code, 46,967 comments, 20,606 blank, across 1,520 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 4f385cd03afa, 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.7% of all lines, comments represent 16.2%, and the repository averages 147 code lines per file. TypeScript accounts for 59.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 549 | 170839 | 132115 | 30207 | 8517 |
| TSX | 248 | 41841 | 34496 | 4227 | 3118 |
| YAML | 26 | 28277 | 22890 | 169 | 5218 |
| JavaScript | 127 | 18801 | 12385 | 5188 | 1228 |
| JSON | 135 | 10020 | 9969 | 0 | 51 |
| CSS | 77 | 11839 | 9871 | 692 | 1276 |
| 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 290,568 total lines, including 222,995 code lines, 46,967 comment lines, and 20,606 blank lines.
OctoCounts resolved the public GitHub repository to commit 4f385cd03afa, 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 4f385cd03afa on 2026-10-22T05:57:32.071486217+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 — 222,995 code lines across 12 languages, counted by tokei.