# TanStack/query SLOC report

> As of 2026-10-22 (commit c8359dde0244), TanStack/query contains 144,158 total lines: 101,539 code, 27,973 comments, 14,646 blank, across 1,469 files in 13 languages (top: YAML 33.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

TanStack/query has 101,539 source lines of code out of 144,158 total lines across 1,469 files, counted from the main ref at commit c8359dde0244 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving TanStack/query to commit c8359dde0244, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 70.4% of all lines, comments represent 19.4%, and the repository averages 69 code lines per file. YAML accounts for 33.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| YAML | 2 | 35,986 | 33,520 | 13 | 2,453 |
| TypeScript | 563 | 51,840 | 31,340 | 16,794 | 3,706 |
| TSX | 199 | 20,558 | 16,962 | 1,921 | 1,675 |
| JSON | 282 | 11,994 | 11,945 | 0 | 49 |
| JavaScript | 133 | 5,626 | 4,232 | 582 | 812 |
| HTML | 78 | 1,228 | 1,194 | 11 | 23 |
| CSS | 19 | 1,293 | 1,132 | 2 | 159 |
| Svelte | 40 | 848 | 774 | 0 | 74 |
| SVG | 21 | 256 | 238 | 15 | 3 |
| Vue | 20 | 136 | 106 | 0 | 30 |
| JSX | 4 | 83 | 68 | 1 | 14 |
| Astro | 2 | 32 | 28 | 0 | 4 |

Top language (YAML 33.0%). Generated at 2026-10-22T04:59:35.246502692+00:00. Canonical report: https://octocounts.com/github/TanStack/query

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/TanStack/query/commit/c8359dde0244c7c40b4370747d1ec547d0e27a34?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=6224799fb8ba07f3859ce9762510b4d5b2e98d978fc6563addc22d5c45127d8d).

## Report FAQ

### How many lines of code does TanStack/query have?

TanStack/query has 144,158 total lines, including 101,539 code lines, 27,973 comment lines, and 14,646 blank lines.

### How was the TanStack/query line count measured?

OctoCounts resolved the public GitHub repository to commit c8359dde0244, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for TanStack/query?

This OctoCounts report was generated from main at commit c8359dde0244 on 2026-10-22T04:59:35.246502692+00:00.

## Similar repository reports

- [statelyai/xstate](https://octocounts.com/github/statelyai/xstate) — YAML, 98,602 code lines
- [Dokploy/templates](https://octocounts.com/github/Dokploy/templates) — YAML, 88,908 code lines
- [unreallabsai/unreal-agent](https://octocounts.com/github/unreallabsai/unreal-agent) — YAML, 160,690 code lines
- [YaoFANGUK/video-subtitle-extractor](https://octocounts.com/github/YaoFANGUK/video-subtitle-extractor) — YAML, 62,957 code lines
- [Dokploy/examples](https://octocounts.com/github/Dokploy/examples) — YAML, 51,495 code lines
- [puckeditor/puck](https://octocounts.com/github/puckeditor/puck) — YAML, 44,885 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
