statelyai/xstate
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.
statelyai/xstate: 135,936 code lines at commit 975ba721932b, counted with tokei-15.0.0 on 2026-11-07. Saved result 0fb112b07642e65f1b1af6c957d2a481f18bdf1185ab9916f7550cd2920e1900.
Source: statelyai/xstate on GitHub · counted commit 975ba721932b
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.
Repository size insights
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 .
Counting rules and retention
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.
Reproduce this report
Report FAQ
How many lines of code does statelyai/xstate have?
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.
How was the statelyai/xstate line count measured?
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.
What commit was counted for statelyai/xstate?
This OctoCounts report was generated from next at commit 975ba721932b on November 7, 2026.
Play the growth animation for statelyai/xstate on this page — 135,936 code lines across 12 languages, counted by tokei.