TanStack/query has 151,154 source lines of code out of 201,691 total lines across 3,055 files, counted with tokei from the main ref at commit 8f6da1e2a1b5 on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
TanStack/query: 151,154 code lines at commit 8f6da1e2a1b5, counted with tokei-15.0.0 on 2026-11-07. Saved result 8915f6ef49a5b4b9f3207c2e0d28c200c6263b7daae09a72a9b5ea094d9afaeb.
OctoCounts produced this report by resolving TanStack/query to commit 8f6da1e2a1b5, 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.9% of all lines, comments represent 15.4%, and the repository averages 49 code lines per file. TypeScript is the largest programming language at 29.6% of counted code; data and prose formats such as JSON or YAML hold a larger share.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| YAML | 2 | 48475 | 45709 | 13 | 2753 |
| TypeScript | 1312 | 67038 | 44793 | 17177 | 5068 |
| TSX | 372 | 29399 | 24958 | 2054 | 2387 |
| JSON | 474 | 16749 | 16642 | 0 | 107 |
| JavaScript | 221 | 12856 | 9128 | 1909 | 1819 |
| CSS | 56 | 4609 | 4028 | 2 | 579 |
| HTML | 157 | 2368 | 2293 | 11 | 64 |
| Svelte | 87 | 2047 | 1904 | 0 | 143 |
| Vue | 107 | 948 | 833 | 0 | 115 |
| SVG | 70 | 893 | 826 | 64 | 3 |
| Astro | 3 | 45 | 40 | 0 | 5 |
| Markdown | 194 | 16264 | 0 | 9862 | 6402 |
Top programming language: TypeScript 29.6%. 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 151,154 lines of code, plus 31,092 comment lines and 19,445 blank lines, for 201,691 total lines at commit 8f6da1e2a1b5 on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 8f6da1e2a1b5, 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 8f6da1e2a1b5 on November 7, 2026.
Play the growth animation for TanStack/query on this page — 151,154 code lines across 12 languages, counted by tokei.