Plugins maintained by the fastify team are listed under Core while plugins maintained by the community are listed in the Community section.
fastify-accepts
to have accepts in your request object.fastify-accepts-serializer
to serialize to output according toAccept
header.fastify-auth
Run multiple auth functions in Fastify.fastify-bankai
Bankai assets compiler for Fastify.fastify-basic-auth
Basic auth plugin for Fastify.fastify-bearer-auth
Bearer auth plugin for Fastify.fastify-caching
General server-side cache and etag support.fastify-circuit-breaker
A low overhead circuit breaker for your routes.fastify-compress
Fastify compression utils.fastify-cookie
Parse and set cookie headers.fastify-cors
Enables the use of CORS in a Fastify application.fastify-csrf
A plugin for adding CSRF protection to Fastify.fastify-elasticsearch
Plugin to share the same ES client.fastify-env
Load and check configuration.fastify-etag
Automatically generate etags for HTTP responses.fastify-flash
Set and get flash messages using the session.fastify-formbody
Plugin to parse x-www-form-urlencoded bodies.fastify-helmet
Important security headers for Fastify.fastify-http-proxy
Proxy your http requests to another server, with hooks.fastify-jwt
JWT utils for Fastify, internally uses jsonwebtoken.fastify-leveldb
Plugin to share a common LevelDB connection across Fastify.fastify-mongodb
Fastify MongoDB connection plugin, with which you can share the same MongoDB connection pool across every part of your server.fastify-multipart
Multipart support for Fastify.fastify-oauth2
Wrap aroundsimple-oauth2
.fastify-postgres
Fastify PostgreSQL connection plugin, with this you can share the same PostgreSQL connection pool in every part of your server.fastify-rate-limit
A low overhead rate limiter for your routes.fastify-request-context
Request-scoped storage, based on AsyncLocalStorage (with fallback to cls-hooked), providing functionality similar to thread-local storages.fastify-response-validation
A simple plugin that enables response validation for Fastify.fastify-nextjs
React server side rendering support for Fastify with Next.fastify-redis
Fastify Redis connection plugin, with which you can share the same Redis connection across every part of your server.fastify-reply-from
Plugin to forward the current http request to another server.fastify-routes
Plugin that provides aMap
of routes.fastify-sensible
Defaults for Fastify that everyone can agree on. It adds some useful decorators such as http errors and assertions, but also more request and reply methods.fastify-static
Plugin for serving static files as fast as possible.fastify-swagger
Swagger documentation generator for Fastify.fastify-websocket
WebSocket support for Fastify. Built upon websocket-stream.fastify-url-data
Decorate theRequest
object with a method to access raw URL components.point-of-view
Templates rendering (ejs, pug, handlebars, marko) plugin support for Fastify.under-pressure
Measure process load with automatic handling of "Service Unavailable" plugin for Fastify.
apollo-server-fastify
Run an Apollo Server to serve GraphQL with Fastify.arecibo
Fastify ping responder for Kubernetes Liveness and Readiness Probes.cls-rtracer
Fastify middleware for CLS-based request id generation. An out-of-the-box solution for adding request ids into your logs.fastify-405
Fastify plugin that adds 405 HTTP status to your routesfastify-amqp
Fastify AMQP connection plugin, to use with RabbitMQ or another connector. Just a wrapper toamqplib
.fastify-angular-universal
Angular server-side rendering support using@angular/platform-server
for Fastifyfastify-auth0-verify
: Auth0 verification plugin for Fastify, internally uses fastify-jwt and jsonwebtoken.fastify-autocrud
Plugin for autogenerate CRUD routes as fast as possible.fastify-autoroutes
Plugin to scan and load routes based on filesystem path from custom directory.fastify-axios
Plugin to send HTTP requests via axios.fastify-babel
Fastify plugin for development servers which require babel transformations of JavaScript sources.fastify-blipp
Prints your routes to the console, so you definitely know which endpoints are available.fastify-bookshelf
Fastify plugin to add bookshelf.js orm support.fastify-boom
Fastify plugin to add boom support.fastify-casbin
Casbin support for Fastify.fastify-casbin-rest
Casbin support for Fastify based on a RESTful model.fastify-casl
Fastify CASL plugin that supports ACL-like protection of endpoints via either a preSerialization & preHandler hook, sanitizing the inputs and outputs of your application based on user rights.fastify-cloudevents
Fastify plugin to generate and forward Fastify events in the Cloudevents format.fastify-cockroachdb
Fastify plugin to connect to a CockroachDB PostgreSQL instance via the Sequelize ORM.fastify-couchdb
Fastify plugin to add CouchDB support via nano.fastify-custom-healthcheck
Fastify plugin to add health route in your server that asserts custom functions.fastify-decorators
Fastify plugin that provides the set of TypeScript decorators.fastify-dynamodb
AWS DynamoDB plugin for Fastify. It exposes AWS.DynamoDB.DocumentClient() object.fastify-dynareg
Dynamic plugin register for Fastify.fastify-envalid
Fastify plugin to integrate envalid in your Fastify project.fastify-error-page
Fastify plugin to print errors in structured HTML to the browser.fastify-errors-properties
A error handling plugin for Fastify that enables additional properties in errors.fastify-explorer
Get control of your decorators across all the encapsulated contextsfastify-esso
The easiest authentication plugin for Fastify, with built-in support for Single sign-on (and great documentation)fastify-favicon
Fastify plugin to serve default favicon.fastify-feature-flags
Fastify feature flags plugin with multiple providers support (e.g. env, config, unleash).fastify-file-upload
Fastify plugin for uploading files.fastify-firebase
Fastify plugin for Firebase Admin SDK to Fastify so you can easy use Firebase Auth, Firestore, Cloud Storage, Cloud Messaging, and more.fastify-firebase-auth
Firebase Authentication for Fastify supporting all of the methods relating to the authentication API.fastify-gcloud-trace
Google Cloud Trace API Connector for Fastify.fastify-get-head
Small plugin to set a new HEAD route handler for each GET route previously registered in Fastify.fastify-google-cloud-storage
Fastify plugin that exposes a GCP Cloud Storage client instance.fastify-grant
Authentication/Authorization plugin for Fastify that supports 200+ OAuth Providers.fastify-guard
A fastify plugin that protects endpoints by checking authenticated user roles and/or scopes.fastify-graceful-shutdown
Shutdown Fastify gracefully and asynchronously.fastify-healthcheck
Fastify plugin to serve an health check route and a probe script.fastify-hemera
Fastify Hemera plugin, for writing reliable & fault-tolerant microservices with nats.io.fastify-http2https
Redirect HTTP requests to HTTPS, both using the same port number, or different response on HTTP and HTTPS.fastify-http-context
Fastify plugin for "simulating" a thread of execution to allow for true http context to take place per api call within the fastify lifecycle of calls.fastify-https-redirect
Fastify plugin for auto redirect from http to httpsfastify-http-client
Plugin to send HTTP(s) requests. Built upon urllib.fastify-influxdb
Fastify InfluxDB plugin connecting to an InfluxDB instance via the Influx default package.fastify-jwt-authz
JWT user scope verifier.fastify-jwt-webapp
JWT authentication for fastify-based web apps.fastify-knexjs
Fastify plugin for support KnexJS Query Builder.fastify-knexjs-mock
Fastify Mock KnexJS for testing support.fastify-kubernetes
Fastify Kubernetes client plugin.fastify-language-parser
Fastify plugin to parse request language.fastify-loader
Load routes from a directory and inject the fastify instance in each file.fastify-lured
Plugin to load lua scripts with fastify-redis and lured.fastify-markdown
Plugin to markdown support.fastify-method-override
Plugin for Fastify, which allows use HTTP verbs, such as DELETE, PATCH, HEAD, PUT, OPTIONS in case the client doesn't support them.fastify-metrics
Plugin for exporting Prometheus metrics.fastify-mongo-memory
Fastify MongoDB in Memory Plugin for testing support.fastify-mongoose-api
Fastify plugin to create REST API methods based on Mongoose MongoDB models.fastify-mongoose-driver
Fastify Mongoose plugin that connects to a MongoDB via the Mongoose plugin with support for Models.fastify-multer
Multer is a plugin for handling multipart/form-data, which is primarily used for uploading files.fastify-nats
Plugin to share NATS client across Fastify.fastify-no-additional-properties
AddadditionalProperties: false
by default to your JSON Schemas.fastify-no-icon
Plugin to eliminate thrown errors for/favicon.ico
requests.fastify-nodemailer
Plugin to share nodemailer transporter across Fastify.fastify-normalize-request-reply
Plugin to normalize the request and reply to the Express version 4.x request and response, which allows use of middleware, like swagger-stats, that was originally written for Express.fastify-now
Structure your endpoints in a folder and load them dynamically with fastifyfastify-oas
Generates OpenAPI 3.0+ documentation from routes schemas for Fastify.fastify-objectionjs
Plugin for thefastify
framework that provides integration with objectionjs ORM.fastify-objectionjs-classes
Plugin to cherry pick classes from objectionjs ORM.fastify-openapi-glue
Glue for Open Api specifications in Fastify, autogenerates routes based on an Open Api Specificationfastify-opentelemetry
A Fastify plugin that uses the OpenTelemetry API to provide request tracing.fastify-oracle
Attaches anoracledb
connection pool to a Fastify server instance.fastify-orientdb
Fastify OrientDB connection plugin, with which you can share the OrientDB connection across every part of your server.fastify-piscina
A worker thread pool plugin using Piscina.fastify-peekaboo
Fastify plugin for memoize responses by expressive settings.fastify-postgraphile
Plugin to integrate PostGraphile in a Fastify project.fastify-prettier
A fastify plugin that uses prettier under the hood to beautify outgoing responses and/or other things in the fastify server.fastify-qrcode
This plugin utilizes qrcode to generate QR Code.fastify-qs
A plugin for Fastify that adds support for parsing URL query parameters with qs.fastify-raw-body
Add therequest.rawBody
field.fastify-rbac
Fastify role-based access control plugin.fastify-redis-channels
A plugin for fast, reliable, and scalable channels implementation based on Redis streams.fastify-register-routes
Plugin to automatically load routes from a specified path and optionally limit loaded file names by a regular expression.fastify-response-time
AddX-Response-Time
header at each request for Fastify, in milliseconds.fastify-response-caching
A Fastify plugin for caching the response.fastify-resty
Fastify-based web framework with REST API routes auto-generation for TypeORM entities using DI and decorators.fastify-reverse-routes
Fastify reverse routes plugin, allows to defined named routes and build path using name and parameters.fastify-rob-config
Fastify Rob-Config integration.fastify-schema-constraint
Choose the JSON schema to use based on request parameters.fastify-secure-session
Create a secure stateless cookie session for Fastifyfastify-sentry
Fastify plugin to add the Sentry SDK error handler to requests.fastify-sequelize
Fastify plugin work with Sequelize (adapter for NodeJS -> Sqlite, Mysql, Mssql, Postgres).fastify-server-session
A session plugin with support for arbitrary backing caches viafastify-caching
.fastify-session
a session plugin for Fastify.fastify-soap-client
a SOAP client plugin for Fastify.fastify-socket.io
a Socket.io plugin for Fastify.fastify-sse
to provide Server-Sent Events withreply.sse( … )
to Fastify.fastify-sse-v2
to provide Server-Sent Events using Async Iterators (supports newer versions of Fastify).fastify-tls-keygen
Automatically generate a browser-compatible, trusted, self-signed, localhost-only, TLS certificate.fastify-tokenize
Tokenize plugin for Fastify that removes the pain of managing authentication tokens, with built-in integration forfastify-auth
.fastify-totp
A plugin to handle TOTP (e.g. for 2FA)fastify-twitch-ebs-tools
Useful functions for Twitch Extension Backend Services (EBS).fastify-typeorm-plugin
Fastify plugin to work with TypeORM.fastify-vhost
Proxy subdomain http requests to another server (useful if you want to point multiple subdomains to the same IP address, while running different servers on the same machine).fastify-xml-body-parser
Parse XML payload / request body into JS / JSON object.fastify-vue-plugin
Nuxt.js plugin for fastify. Control the routes nuxt should use.fastify-wamp-router
Web Application Messaging Protocol router for fastify.fast-water
A fastify plugin for waterline. Decorates fastify with waterline models.fastify-webpack-hmr
Webpack hot module reloading plugin for Fastify.fastify-ws
WebSocket integration for Fastify — with support for WebSocket lifecycle hooks instead of a single handler function. Built upon ws and uws.fastify-xray
Fastify plugin for AWS XRay recording.@gquittet/graceful-server
Tiny (~5k), Fast, KISS and dependency-free Node.JS library to make your Fastify API graceful.i18next-http-middleware
An i18next based i18n (internationalization) middleware to be used with Node.js web frameworks like express orFastify
and also for Deno.k-fastify-gateway
API Gateway plugin forfastify
, a low footprint implementation that uses thefastify-reply-from
HTTP proxy library.mercurius
A fully-featured and performant GraphQL server implementation for Fastify.openapi-validator-middleware
Swagger and OpenAPI 3.0 spec-based request validation middleware that supportsfastify
.