{"library":"better-auth-react-query","type":"library","category":null,"description":"A TanStack React Query client wrapper for Better Auth, currently at v0.0.5. This package transforms a Better Auth client into a TanStack Query-compatible client with full TypeScript support. It automatically treats `get` and `list` methods as queries and all other methods as mutations, providing `queryOptions()` and `mutationOptions()` helpers. The package is in early development with no major release cadence. It requires `@tanstack/react-query` >= 5.0.0 and `better-auth` >= 1.4.0. Key differentiators include automatic distinction between queries and mutations, full type inference from Better Auth client configuration, and query key helpers for cache invalidation.","language":"javascript","status":"active","version":"0.0.5","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install better-auth-react-query","imports":["import { createAuthQueryClient } from 'better-auth-react-query'","import betterAuthReactQuery from 'better-auth-react-query'","const { createAuthQueryClient } = await import('better-auth-react-query')"]},{"cmd":"yarn add better-auth-react-query","imports":[]},{"cmd":"pnpm add better-auth-react-query","imports":[]}],"homepage":null,"github":"https://github.com/saas-js/saas-js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/better-auth-react-query","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/better-auth-react-query/compatibility"}}