{"library":"nuxt-better-auth-utils","type":"library","category":null,"description":"nuxt-better-auth-utils is a Nuxt module providing a full lifecycle integration for the Better Auth library, offering auto-wired API handlers, SSR session pre-fetching, and typed server/client APIs. It's currently at version 0.1.27 and has a rapid release cadence with frequent bug fixes and minor improvements, often multiple releases per week. Key differentiators include its tight integration with Nuxt's SSR capabilities, providing reactive session state via `useAuth()` on the client and `useServerAuth()` for server-side operations, and automatic type inference. It remains database-agnostic, deferring to Better Auth's adapter ecosystem. This module aims to simplify authentication setup in Nuxt applications by handling much of the boilerplate, including API routing, session management, and protecting pages with middleware, without imposing opinions on the underlying authentication strategy or data storage.","language":"javascript","status":"active","version":"0.1.27","tags":["javascript"],"install":[{"cmd":"npm install nuxt-better-auth-utils","imports":["import { defineNuxtConfig } from 'nuxt/config'","const { session, user, loggedIn } = useAuth()","const { requireSession, getSession } = useServerAuth(event)","import { defineAuthConfig } from '#nuxt-better-auth-utils/server'","import { defineAuthClientConfig } from '#nuxt-better-auth-utils/client'"]},{"cmd":"yarn add nuxt-better-auth-utils","imports":[]},{"cmd":"pnpm add nuxt-better-auth-utils","imports":[]}],"homepage":null,"github":"https://github.com/genu/nuxt-better-auth-utils","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/nuxt-better-auth-utils","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/nuxt-better-auth-utils/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}