# TanStack/query — health index 86/100 (Excellent)

> Inspection of the public repository TanStack/query by inspect.software. It holds a health index of 86 out of 100, placing it in the Excellent band. The index is a signal derived from publicly visible practice, not a warranty, a security audit, or an endorsement, and it is independent of payment.

- Repository: https://github.com/TanStack/query
- Report page: https://inspect.software/software/TanStack/query
- Full JSON report: https://inspect.software/api/repositories/TanStack/query/report
- Badge: https://raw.githubusercontent.com/inspect-software/badges/main/v1/t/TanStack/query.svg
- Inspected: 2026-07-29
- Methodology: metrics 1.13.0, report schema 0.27.0 (https://inspect.software/methodology.md)

## Category summary

| Category | Weight | Index | Band |
|---|---|---|---|
| Vitality | 22% | 99/100 | Excellent |
| Community & Adoption | 18% | 91/100 | Excellent |
| Sustainability & Governance | 24% | 78/100 | Good |
| Engineering Quality | 20% | 89/100 | Excellent |
| Security | 16% | 69/100 | Moderate |
| AI Readiness | not counted | 63/100 | Moderate |

## Repository facts

| Field | Value |
|---|---|
| Description | 🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query. |
| Homepage | https://tanstack.com/query |
| Primary language | TypeScript |
| License | MIT |
| Stars | 50,015 |
| Forks | 4,074 |
| Created | 2019-09-10 |
| Last push | 2026-07-29 |
| Latest release | release-2026-07-22-0054 |
| Commits (last year) | 915 |
| Bus factor | 2 |
| Topics | react, hooks, fetch, cache, async, rest, graphql, data, query, stale, stale-while-revalidate, update, solid, svelte, typescript, vue |

## Published packages

| Registry | Package | Latest | Monthly downloads |
|---|---|---|---|
| npm | @tanstack/lit-query | 0.2.11 | 2,301 |
| npm | @tanstack/preact-query | 5.101.4 | 75,867 |
| npm | @tanstack/eslint-plugin-query | 5.101.4 | 12,039,407 |
| npm | @tanstack/preact-query-devtools | 5.101.4 | 1,065 |
| npm | @tanstack/angular-query-experimental | 5.101.4 | 336,782 |
| npm | @tanstack/preact-query-persist-client | 5.101.4 | 632 |
| npm | @tanstack/query-async-storage-persister | 5.101.4 | 3,944,931 |
| npm | @tanstack/query-broadcast-client-experimental | 5.101.4 | 346,869 |

## Vitality — 99/100 (Excellent)

Is the project alive — is code being written and are releases shipping? Weight: 22% of the overall index.

### Development activity — 99/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Push recency | met | 36 / 36 | last push 0 days ago |
| Commit cadence | partial | 34.6 / 36 | 50/52 weeks with commits |
| Commit volume | met | 18 / 18 | 915 commits in the last year |
| OpenSSF Scorecard: Maintained | met | 10 / 10 | 30 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10 |

### Release discipline — 100/100 (Excellent)

Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Ships releases | met | 27 / 27 | 100 releases published |
| Release recency | met | 36 / 36 | latest release 7 days ago |
| Release cadence | met | 27 / 27 | a release every ~0.1 days |
| OpenSSF Scorecard: Signed-Releases | excluded | 0 / 10 | no releases found |

### Abandonment — 100/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Project is still maintained | met | 100 / 100 | last human commit 0 days ago |

## Community & Adoption — 91/100 (Excellent)

Does the project have users, downloads, attention, and a welcoming setup for contributors? Weight: 18% of the overall index.

### Popularity & adoption — 98/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Stars | met | 60 / 60 | 50,015 stars |
| Forks | met | 25 / 25 | 4,074 forks |
| Watchers | partial | 13.5 / 15 | 265 watchers |

### Community health — 77/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| README | met | 22.5 / 22.5 | — |
| License | met | 22.5 / 22.5 | recognized license (MIT) |
| CONTRIBUTING guide | met | 18 / 18 | — |
| Code of conduct | not met | 0 / 13.5 | — |
| Issue template | not met | 0 / 7.2 | — |
| PR template | met | 6.3 / 6.3 | — |

### Ecosystem adoption (downloads) — 100/100 (Excellent)

Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Monthly downloads | met | 80 / 80 | 16,747,854 downloads/month across npm |
| Registry dependents | excluded | 0 / 20 | not reported by this ecosystem |

## Sustainability & Governance — 78/100 (Good)

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep? Weight: 24% of the overall index.

### Maintainer resilience (bus factor) — 63/100 (Moderate)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Bus factor | partial | 25.2 / 54 | 2 contributor(s) cover half of all commits |
| Commit distribution | partial | 13.9 / 22.5 | top contributor authored 38% of commits |
| Contributor breadth | met | 13.5 / 13.5 | 94 contributors |
| OpenSSF Scorecard: Contributors | met | 10 / 10 | project has 35 contributing companies or organizations |

### Issue & PR responsiveness — 81/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Issue resolution | partial | 45.2 / 46.8 | 97% of issues closed |
| PR acceptance | partial | 31.4 / 38.2 | 3761/4581 decided PRs merged |
| OpenSSF Scorecard: Code-Review | partial | 4.5 / 15 | Found 10/28 approved changesets -- score normalized to 3 |

### Ownership & stewardship — 77/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Ownership backing | met | 30 / 30 | organization-owned |
| Verified domain | not met | 0 / 20 | — |
| Owner reach | met | 25 / 25 | 11,029 followers of TanStack |
| Track record | partial | 22.4 / 25 | 29 public repos, account ~5 yr old |

### Package maintenance — 100/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Published & resolvable | met | 25 / 25 | 8 package(s) on npm |
| Publish recency | met | 35 / 35 | latest publish 8 days ago |
| Version history | met | 20 / 20 | 431 published versions |
| Not deprecated | met | 20 / 20 | active, not deprecated or yanked |

## Engineering Quality — 89/100 (Excellent)

Are baseline engineering and documentation practices in place? Weight: 20% of the overall index.

### Engineering practices — 88/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| CI workflows | met | 24 / 24 | 4 workflow(s) |
| Tests present | met | 24 / 24 | — |
| Linter config | met | 16 / 16 | .eslintrc, .eslintrc.cjs, eslint.config.js |
| Pre-commit hooks | not met | 0 / 9.6 | — |
| .editorconfig | met | 6.4 / 6.4 | — |
| OpenSSF Scorecard: CI-Tests | partial | 18 / 20 | 28 out of 30 merged PRs checked by a CI test -- score normalized to 9 |

### Documentation — 90/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| README | met | 30 / 30 | — |
| Documentation directory | met | 25 / 25 | — |
| Documentation / homepage site | met | 15 / 15 | https://tanstack.com/query |
| Repository description | met | 10 / 10 | — |
| Topics | met | 10 / 10 | 16 topics |
| Wiki | not met | 0 / 10 | — |

## Security — 69/100 (Moderate)

Are visible security and supply-chain practices strong, with no malicious dependency and no unresolved high-risk jurisdiction exposure? Weight: 16% of the overall index.

### Security posture — 61/100 (Moderate)

Excluded from scoring (no data or not applicable): Packaging, Signed-Releases. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Binary-Artifacts | met | 7.5 / 7.5 | no binaries found in the repo |
| Branch-Protection | partial | 2.2 / 7.5 | branch protection is not maximal on development and all release branches |
| CI-Tests | partial | 2.2 / 2.5 | 28 out of 30 merged PRs checked by a CI test -- score normalized to 9 |
| CII-Best-Practices | not met | 0 / 2.5 | no effort to earn an OpenSSF best practices badge detected |
| Code-Review | partial | 2.2 / 7.5 | Found 10/28 approved changesets -- score normalized to 3 |
| Contributors | met | 2.5 / 2.5 | project has 35 contributing companies or organizations |
| Dangerous-Workflow | met | 10 / 10 | no dangerous workflow patterns detected |
| Dependency-Update-Tool | met | 7.5 / 7.5 | update tool detected |
| Fuzzing | not met | 0 / 5 | project is not fuzzed |
| License | met | 2.5 / 2.5 | license file detected |
| Maintained | met | 7.5 / 7.5 | 30 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10 |
| Packaging | excluded | 0 / 5 | packaging workflow not detected |
| Pinned-Dependencies | met | 5 / 5 | all dependencies are pinned |
| SAST | not met | 0 / 5 | SAST tool is not run on all commits -- score normalized to 0 |
| Security-Policy | not met | 0 / 5 | security policy file not detected |
| Signed-Releases | excluded | 0 / 7.5 | no releases found |
| Token-Permissions | met | 7.5 / 7.5 | GitHub workflow tokens follow principle of least privilege |
| Vulnerabilities | not met | 0 / 7.5 | 203 existing vulnerabilities detected |

### Dependency advisories — 100/100 (Excellent)

Excluded from scoring (no data or not applicable): No advisories left outstanding. Remaining weights renormalized. Matched the npm:@tanstack/lit-query@0.2.11 runtime dependency closure — what installing the published package pulls in — 8 packages. Reachability is not analyzed.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Direct dependencies free of known advisories | met | 35 / 35 | no direct dependency carries a known advisory |
| Indirect dependencies free of known advisories | met | 25 / 25 | no indirect dependency carries a known advisory |
| No advisories left outstanding | excluded | 0 / 40 | no advisory carries a publication date |

### Malicious dependencies — 100/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| No dependency reported as a malicious package | met | 100 / 100 | no dependency is reported as a malicious package |

### High-Risk Jurisdiction Exposure — 100/100 (Excellent)

Only high-confidence self-published location evidence affects this multiplier. Ambiguous matches are review-only; country evidence is not proof of nationality, citizenship, legal registration, malicious intent, or sanctions status.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Policy exposure multiplier | met | 100 / 100 | no confirmed policy-scope location match |

## AI Readiness — 63/100 (Moderate)

How well is the repo equipped to be developed and maintained with AI coding agents? An independent, experimental badge — weight 0.0, so it is surfaced on its own and does not affect the overall health score.

### Agent context & guidance — 40/100 (At risk)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Agent instructions | not met | 0 / 45 | no CLAUDE.md / AGENTS.md / editor rules |
| Machine-readable docs (llms.txt) | not met | 0 / 15 | — |
| Legible commit history | met | 40 / 40 | 95 of 95 human commits state their intent (structured subject or explanatory body) |

### Verify loop (build / test / typecheck) — 74/100 (Good)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| One-command bootstrap | not met | 0 / 18 | — |
| Automated tests | met | 22 / 22 | — |
| Lint / format config | met | 11 / 11 | .eslintrc, .eslintrc.cjs, eslint.config.js |
| Static type checking | met | 11 / 11 | examples/angular/auto-refetching/tsconfig.json, examples/angular/basic-persister/tsconfig.json, examples/angular/basic/tsconfig.json, examples/angular/devtools-panel/tsconfig.json, examples/angular/infinite-query-with-max-pages/tsconfig.json, examples/angular/optimistic-updates/tsconfig.json, examples/angular/pagination/tsconfig.json, examples/angular/query-options-from-a-service/tsconfig.json, examples/angular/router/tsconfig.json, examples/angular/rxjs/tsconfig.json, examples/angular/simple/tsconfig.json, examples/lit/basic/tsconfig.json, examples/lit/pagination/tsconfig.json, examples/lit/ssr/tsconfig.json, examples/preact/simple/tsconfig.json, examples/react/algolia/tsconfig.json, examples/react/auto-refetching/tsconfig.json, examples/react/basic-graphql-request/tsconfig.json, examples/react/basic/tsconfig.json, examples/react/chat/tsconfig.json, examples/react/default-query-function/tsconfig.json, examples/react/devtools-panel/tsconfig.json, examples/react/eslint-legacy/tsconfig.json, examples/react/eslint-plugin-demo/tsconfig.json, examples/react/infinite-query-with-max-pages/tsconfig.json, examples/react/load-more-infinite-scroll/tsconfig.json, examples/react/nextjs-app-prefetching/tsconfig.json, examples/react/nextjs-suspense-streaming/tsconfig.json, examples/react/nextjs/tsconfig.json, examples/react/offline/tsconfig.json, examples/react/optimistic-updates-cache/tsconfig.json, examples/react/optimistic-updates-ui/tsconfig.json, examples/react/pagination/tsconfig.json, examples/react/playground/tsconfig.json, examples/react/prefetching/tsconfig.json, examples/react/react-native/tsconfig.json, examples/react/react-router/tsconfig.json, examples/react/rick-morty/tsconfig.json, examples/react/shadow-dom/tsconfig.json, examples/react/simple/tsconfig.json, examples/react/star-wars/tsconfig.json, examples/react/suspense/tsconfig.json, examples/solid/astro/tsconfig.json, examples/solid/basic-graphql-request/tsconfig.json, examples/solid/basic/tsconfig.json, examples/solid/default-query-function/tsconfig.json, examples/solid/offline/tsconfig.json, examples/solid/simple/tsconfig.json, examples/solid/solid-start-streaming/tsconfig.json, examples/svelte/auto-refetching/tsconfig.json, examples/svelte/basic/tsconfig.json, examples/svelte/load-more-infinite-scroll/tsconfig.json, examples/svelte/optimistic-updates/tsconfig.json, examples/svelte/playground/tsconfig.json, examples/svelte/simple/tsconfig.json, examples/svelte/ssr/tsconfig.json, examples/svelte/star-wars/tsconfig.json, examples/vue/2.6-basic/tsconfig.json, examples/vue/2.7-basic/tsconfig.json, examples/vue/basic/tsconfig.json, examples/vue/dependent-queries/tsconfig.json, examples/vue/nuxt3/tsconfig.json, examples/vue/persister/tsconfig.json, examples/vue/simple/tsconfig.json, integrations/angular-cli-20/tsconfig.json, integrations/lit-vite/tsconfig.json, integrations/react-next-14/tsconfig.json, integrations/react-next-15/tsconfig.json, integrations/react-next-16/tsconfig.json, integrations/react-vite/tsconfig.json, integrations/vue-vite/tsconfig.json, packages/angular-query-experimental/tsconfig.json, packages/angular-query-persist-client/tsconfig.json, packages/eslint-plugin-query/src/__tests__/ts-fixture/tsconfig.json, packages/eslint-plugin-query/tsconfig.json, packages/lit-query/tsconfig.json, packages/preact-query-devtools/tsconfig.json, packages/preact-query-persist-client/tsconfig.json, packages/preact-query/tsconfig.json, packages/query-async-storage-persister/tsconfig.json, packages/query-broadcast-client-experimental/tsconfig.json, packages/query-codemods/tsconfig.json, packages/query-core/tsconfig.json, packages/query-devtools/tsconfig.json, packages/query-persist-client-core/tsconfig.json, packages/query-sync-storage-persister/tsconfig.json, packages/query-test-utils/tsconfig.json, packages/react-query-devtools/tsconfig.json, packages/react-query-next-experimental/tsconfig.json, packages/react-query-persist-client/tsconfig.json, packages/react-query/tsconfig.json, packages/solid-query-devtools/tsconfig.json, packages/solid-query-persist-client/tsconfig.json, packages/solid-query/tsconfig.json, packages/svelte-query-devtools/tsconfig.json, packages/svelte-query-persist-client/tsconfig.json, packages/svelte-query/tsconfig.json, packages/vue-query-devtools/tsconfig.json, packages/vue-query/tsconfig.json, scripts/tsconfig.json, tsconfig.json |
| Reproducible environment | met | 10 / 10 | devcontainer, lockfile |
| Demonstrated agent practice | met | 10 / 10 | 5 of the last 100 commits agent-authored or agent-credited |
| Automated maintenance | not met | 0 / 8 | no automated dependency updates observed |
| OpenSSF Scorecard: Pinned-Dependencies | met | 10 / 10 | all dependencies are pinned |

### Code legibility for models — 100/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Type-checkable code | met | 45 / 45 | TypeScript (statically typed) |
| Manageable file sizes | partial | 54.6 / 55 | 8/1118 source files over 60KB |

### Machine-readable interfaces — 40/100 (At risk)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| API schema (OpenAPI/GraphQL/proto) | not met | 0 / 40 | — |
| MCP server | not met | 0 / 20 | — |
| Runnable examples | met | 40 / 40 | examples |

## Collection warnings

- Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
- Resolved dependency list truncated to 3000 of 3222 packages (counts remain complete)

## What this report is

inspect.software measures public repositories against a single published, versioned methodology and reports the result as a 1–100 health index. Findings are signals derived from what is visible in public repository data — they are not a security audit, a warranty, or an endorsement, and no result depends on payment.

- Methodology, formulas and weights: https://inspect.software/methodology.md
- What a result does and does not claim: https://inspect.software/wiki/signals-not-warranties.md
- Rating bands: https://inspect.software/wiki/scoring-bands.md
- Corrections: https://inspect.software/contact.md
- Index of all documents: https://inspect.software/llms.txt
