TanStack/query has 147,006 source lines of code out of 198,836 total lines across 3,145 files, counted with tokei from the main ref at commit 56d98b0d480f on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
TanStack/query: 147,006 code lines at commit 56d98b0d480f, counted with tokei-15.0.0 on 2026-11-14. Saved result 253cb12f86d1e3caac2ee3ec34c8aa6ed6cdbd82558f853e0ddb3f4b165161bf.
OctoCounts produced this report by resolving TanStack/query to commit 56d98b0d480f, 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 73.9% of all lines, comments represent 16.1%, and the repository averages 47 code lines per file. TypeScript accounts for 30.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 1313 | 67412 | 45141 | 17201 | 5070 |
| YAML | 2 | 42626 | 39974 | 13 | 2639 |
| TSX | 378 | 29579 | 25132 | 2054 | 2393 |
| JSON | 474 | 16785 | 16678 | 0 | 107 |
| JavaScript | 220 | 12851 | 9123 | 1909 | 1819 |
| CSS | 56 | 4528 | 3958 | 2 | 568 |
| HTML | 157 | 2439 | 2364 | 11 | 64 |
| Svelte | 87 | 2071 | 1923 | 0 | 148 |
| SVG | 153 | 1993 | 1839 | 151 | 3 |
| Vue | 107 | 948 | 833 | 0 | 115 |
| Astro | 3 | 46 | 41 | 0 | 5 |
| Markdown | 195 | 17558 | 0 | 10734 | 6824 |
Top language: TypeScript 30.7%. Generated on .
TanStack/query: 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.
TanStack/query has 147,006 lines of code, plus 32,075 comment lines and 19,755 blank lines, for 198,836 total lines at commit 56d98b0d480f on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 56d98b0d480f, 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 56d98b0d480f on November 14, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for TanStack/query on this page — 147,006 code lines across 12 languages, counted by tokei.