Fastify Plugins
Production-ready Fastify 5 plugins for auth, storage, communications, and more.
Fastify Plugins
20 production-ready Fastify 5 plugins covering auth, storage, email, AI, PDF generation, and third-party integrations. All plugins are typed with TypeScript and follow consistent registration patterns.
Packages
| Plugin | Version | Description |
|---|---|---|
| fastify-xadmin | 1.0.1 | Admin APIs — tenants, roles, users, audit, impersonation, Stripe |
| fastify-x-ai | 1.1.3 | Vercel AI SDK — text, streaming, embeddings, structured output |
| fastify-xauth-better | 2.1.0 | Better Auth — multi-instance, orgs, 2FA, audit |
| fastify-xauth-jwks | 1.1.3 | JWKS JWT validation — path-based multi-provider |
| fastify-xauth-local | 1.1.3 | Local JWT auth with RBAC |
| fastify-xconfig | 2.1.3 | Middleware and service configuration |
| fastify-xemail | 1.0.3 | SendGrid email integration |
| fastify-xgeocode | 1.1.3 | Geocodio address geocoding |
| fastify-xhubspot | 1.1.2 | HubSpot CRM integration |
| fastify-ximagepipeline | 1.1.2 | Image uploads with EXIF strip, moderation, R2 |
| fastify-xlogger | 1.1.3 | Pino structured logging |
| fastify-xpdf | 1.1.2 | PDF generation from HTML/Markdown |
| fastify-xplaid | 1.1.2 | Plaid financial data |
| fastify-xrcs | 1.1.2 | Twilio RCS rich cards |
| fastify-xsignwell | 1.1.2 | SignWell document signing |
| fastify-xstorage | 1.1.2 | S3-compatible storage |
| fastify-xstripe | 1.1.2 | Stripe webhook handlers |
| fastify-xswagger | 1.1.2 | Route-scoped Swagger docs |
| fastify-xtwilio | 1.2.1 | Twilio SMS, Conversations, RCS |
| fastify-xwhatconverts | 1.1.2 | WhatConverts lead tracking |
Common Registration Pattern
All plugins follow the same pattern:
import Fastify from 'fastify'
import xPlugin from '@xenterprises/fastify-xplugin'
const fastify = Fastify({ logger: true })
await fastify.register(xPlugin, {
// plugin options
})
Fastify 5 Compatibility
All plugins are built for Fastify 5 and use:
- TypeScript with full type exports
@fastify/plugin-utilsfor proper encapsulation- Async plugin registration
Prerequisites
- Node.js 18+
- Fastify 5.x
