statelyai/xstate has 135,936 source lines of code out of 183,191 total lines across 1,358 files, counted with tokei from the next ref at commit 975ba721932b on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-07 (commit 975ba721932b), statelyai/xstate contains 183,191 total lines: 135,936 code, 28,311 comments, 18,944 blank, across 1,358 files in 12 languages (top language: TypeScript 61.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving statelyai/xstate to commit 975ba721932b, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a large codebase by counted code lines. Code represents 74.2% of all lines, comments represent 15.5%, and the repository averages 100 code lines per file. TypeScript accounts for 61.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 570 | 100375 | 83450 | 10220 | 6705 |
| YAML | 12 | 34710 | 30796 | 3 | 3911 |
| JSON | 279 | 6649 | 6554 | 0 | 95 |
| TSX | 119 | 6095 | 5390 | 57 | 648 |
| CSS | 81 | 5141 | 4511 | 20 | 610 |
| JavaScript | 38 | 4435 | 4040 | 182 | 213 |
| HTML | 60 | 759 | 759 | 0 | 0 |
| Svelte | 7 | 232 | 208 | 0 | 24 |
| SVG | 21 | 125 | 125 | 0 | 0 |
| Sass | 1 | 61 | 52 | 0 | 9 |
| Vue | 12 | 65 | 51 | 0 | 14 |
| Markdown | 158 | 24544 | 0 | 17829 | 6715 |
Top language: TypeScript 61.4%. Generated on .
statelyai/xstate: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
statelyai/xstate has 135,936 lines of code, plus 28,311 comment lines and 18,944 blank lines, for 183,191 total lines at commit 975ba721932b on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 975ba721932b, 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 next at commit 975ba721932b on November 7, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for statelyai/xstate on this page — 135,936 code lines across 12 languages, counted by tokei.