{"library":"better-auth-firestore","type":"library","category":null,"description":"The `better-auth-firestore` package provides a robust Firestore adapter for the `Better Auth` authentication library, utilizing the Firebase Admin SDK. Currently at stable version `1.2.2`, it receives frequent updates, with several patch and minor releases in the past few months addressing bugs and adding features. This library acts as a drop-in replacement for `Auth.js` (formerly `NextAuth.js`) Firebase adapter, maintaining a compatible data shape, which simplifies migrations. Its key differentiators include built-in handling for Firestore-specific limitations, such as chunking `IN` queries that exceed the 30-value cap, and providing helper functions like `initFirestore` for easy setup and `generateIndexSetupUrl` for required index creation. It strictly targets Node.js 22+ and is designed for TypeScript projects, shipping with full type definitions. While it handles Firestore data storage, `better-auth-firebase-auth` is recommended for actual Firebase Authentication provider integration.","language":"javascript","status":"active","version":"1.2.2","tags":["javascript","better-auth","firebase","firestore","adapter","authjs","nextauth","oauth","session","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install better-auth-firestore","imports":["import { firestoreAdapter } from 'better-auth-firestore';","import { initFirestore } from 'better-auth-firestore';","import { generateIndexSetupUrl } from 'better-auth-firestore';"]},{"cmd":"yarn add better-auth-firestore","imports":[]},{"cmd":"pnpm add better-auth-firestore","imports":[]}],"homepage":null,"github":"https://github.com/yultyyev/better-auth-firestore","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/better-auth-firestore","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-firestore/compatibility"}}