storybookjs/storybook has 629,078 source lines of code out of 799,930 total lines across 6,478 files, counted with tokei from the next ref at commit f5a24e569b3a on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit f5a24e569b3a), storybookjs/storybook contains 799,930 total lines: 629,078 code, 82,130 comments, 88,722 blank, across 6,478 files in 20 languages (top language: TypeScript 76.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving storybookjs/storybook to commit f5a24e569b3a, 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 78.6% of all lines, comments represent 10.3%, and the repository averages 97 code lines per file. TypeScript accounts for 76.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 4175 | 586384 | 483361 | 40404 | 62619 |
| TSX | 738 | 80822 | 68757 | 3344 | 8721 |
| JSON | 565 | 62423 | 62410 | 0 | 13 |
| JavaScript | 237 | 7956 | 6251 | 756 | 949 |
| Svelte | 209 | 3303 | 2718 | 155 | 430 |
| JSX | 64 | 3117 | 2356 | 519 | 242 |
| CSS | 47 | 1357 | 1262 | 6 | 89 |
| Vue | 125 | 610 | 491 | 1 | 118 |
| Python | 1 | 531 | 447 | 42 | 42 |
| HTML | 20 | 381 | 366 | 3 | 12 |
| YAML | 9 | 309 | 288 | 5 | 16 |
| Pug | 44 | 146 | 139 | 0 | 7 |
Top language: TypeScript 76.8%. Generated on .
storybookjs/storybook: 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.
storybookjs/storybook has 629,078 lines of code, plus 82,130 comment lines and 88,722 blank lines, for 799,930 total lines at commit f5a24e569b3a on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit f5a24e569b3a, 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 f5a24e569b3a on November 16, 2026.
Play the growth animation for storybookjs/storybook on this page — 629,078 code lines across 20 languages, counted by tokei.