statelyai/xstate

statelyai/xstate has 139,362 source lines of code out of 187,186 total lines across 1,371 files, counted with tokei from the next ref at commit c72a8998df84 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-15 (commit c72a8998df84), statelyai/xstate contains 187,186 total lines: 139,362 code, 28,686 comments, 19,138 blank, across 1,371 files in 13 languages (top language: TypeScript 60.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-15 (commit c72a8998df84), statelyai/xstate contains 187,186 total lines: 139,362 code, 28,686 comments, 19,138 blank, across 1,371 files in 13 languages (top language: TypeScript 60.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving statelyai/xstate to commit c72a8998df84, 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.5% of all lines, comments represent 15.3%, and the repository averages 102 code lines per file. TypeScript accounts for 60.9% of counted code.

LanguageFilesLinesCodeCommentsBlanks
TypeScript57510198784858103346795
YAML12347233080833912
JSON28382598164095
TSX1196095539057648
CSS815141451120610
JavaScript4048054405183217
HTML6075975900
Svelte7232208024
SVG2112512500
Sass1615209
Vue126551014
Python1373106

Top language: TypeScript 60.9%. 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

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does statelyai/xstate have?

statelyai/xstate has 139,362 lines of code, plus 28,686 comment lines and 19,138 blank lines, for 187,186 total lines at commit c72a8998df84 on November 15, 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 c72a8998df84, 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 c72a8998df84 on November 15, 2026.

Play the growth animation for statelyai/xstate on this page — 139,362 code lines across 13 languages, counted by tokei.