TanStack/query

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
YAML24847545709132753
TypeScript13126703844793171775068
TSX372293992495820542387
JSON47416749166420107
JavaScript22112856912819091819
CSS56460940282579
HTML157236822931164
Svelte87204719040143
Vue1079488330115
SVG70893826643
Astro3454005
Markdown19416264098626402

Top programming language: TypeScript 29.6%. Generated on .

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does TanStack/query have?

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.

How was the TanStack/query line count measured?

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.

What commit was counted for TanStack/query?

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.