Ecosystem
Ecosystem
Plugins maintained by the fastify team are listed under Core while plugins maintained by the community are listed in the Community section.
Core
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-env
Load and check configuration.fastify-elasticsearch
Plugin to share the same ES client.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-objectionjs
Plugin for thefastify
framework that provides integration with objectionjs ORM.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-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.
Community
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-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-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-csrf
A csrf plugin for Fastify.fastify-datastore
Fastify plugin for Google Cloud Datastore.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-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-auth
Firebase Authentication for Fastify supporting all of the methods relating to the authentication API.fastify-firestore
Fastify plugin for Google Cloud Firestore.fastify-gcloud-trace
Google Cloud Trace API Connector for Fastify.fastify-google-cloud-storage
Fastify plugin that exposes a GCP Cloud Storage client instance.fastify-gql
A GraphQL server implementation for Fastify with caching andgraphql-jit
.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-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-oas
Generates OpenAPI 3.0+ documentation from routes schemas for Fastify.fastify-openapi-glue
Glue for Open Api specifications in Fastify, autogenerates routes based on an Open Api Specificationfastify-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-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-rbac
Fastify role-based access control plugin.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-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-sse
to provide Server-Sent Events withreply.sse( … )
to Fastify.fastify-tls-keygen
Automatically generate a browser-compatible, trusted, self-signed, localhost-only, TLS certificate.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.k-fastify-gateway
API Gateway plugin forfastify
, a low footprint implementation that uses thefastify-reply-from
HTTP proxy library.