{"library":"fastify-auth-prisma","type":"library","category":null,"description":"Fastify Auth Prisma is a Fastify plugin that integrates with Prisma to provide a simple and secure authentication middleware solution. It handles token-based authentication, allowing developers to protect routes and manage user sessions by leveraging Prisma for database interactions. The current stable version is 1.2.444, indicating active development within the 1.x release line. While a specific release cadence isn't stated, the version numbering suggests frequent updates. Key differentiators include its direct integration with Prisma, simplifying the data layer for authentication, and its focus on being a Fastify-native solution for performance and developer experience within the Fastify ecosystem. It provides mechanisms for defining public routes and validating connected users using a Prisma client and JWT secrets.","language":"javascript","status":"active","version":"1.2.444","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install fastify-auth-prisma","imports":["import { fastifyAuthPrismaPlugin } from 'fastify-auth-prisma';","import { createUserToken } from 'fastify-auth-prisma';","import { User } from '@prisma/client';"]},{"cmd":"yarn add fastify-auth-prisma","imports":[]},{"cmd":"pnpm add fastify-auth-prisma","imports":[]}],"homepage":null,"github":"https://github.com/qlaffont/fastify-auth-prisma","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/fastify-auth-prisma","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-auth-prisma/compatibility"}}