{"library":"fastify-better-auth","type":"library","category":null,"description":"Fastify Better Auth is a Fastify plugin designed to seamlessly integrate the `better-auth` authentication library into Fastify applications. It automates the registration of all necessary authentication routes, typically under `/api/auth/*`, and decorates the Fastify instance with utilities to access the `better-auth` instance and manage session data. The current stable version is 1.2.0, with minor feature releases indicating active development. Key differentiators include its focus on type-safe decorator access to the auth instance via `getAuthDecorator()` and its direct compatibility with Fastify 5.x and Better Auth 1.x, simplifying setup for applications using these specific versions.","language":"javascript","status":"active","version":"1.2.0","tags":["javascript","fastify","better-auth","auth","authentication","plugin","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install fastify-better-auth","imports":["import FastifyBetterAuth from 'fastify-better-auth';","import { type FastifyBetterAuthOptions } from 'fastify-better-auth';","import { getAuthDecorator } from 'fastify-better-auth';"]},{"cmd":"yarn add fastify-better-auth","imports":[]},{"cmd":"pnpm add fastify-better-auth","imports":[]}],"homepage":null,"github":"https://github.com/flaviodelgrosso/fastify-better-auth","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/fastify-better-auth","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/fastify-better-auth/compatibility"}}