Core

    • to have accepts in your request object.
    • to serialize to output according to header.
    • fastify-auth Run multiple auth functions in Fastify.
    • Require all plugins in a directory.
    • fastify-awilix Dependency injection support for Fastify, based on .
    • fastify-bankai assets compiler for Fastify.
    • fastify-basic-auth Basic auth plugin for Fastify.
    • Bearer auth plugin for Fastify.
    • fastify-caching General server-side cache and ETag support.
    • A low overhead circuit breaker for your routes.
    • fastify-compress Fastify compression utils.
    • Parse and set cookie headers.
    • fastify-cors Enables the use of CORS in a Fastify application.
    • A plugin for adding CSRF protection to Fastify.
    • Plugin to deal with diagnostics_channel on Fastify
    • fastify-elasticsearch Plugin to share the same ES client.
    • Load and check configuration.
    • fastify-etag Automatically generate ETags for HTTP responses.
    • Set and get flash messages using the session.
    • fastify-formbody Plugin to parse x-www-form-urlencoded bodies.
    • Makes functional programming in Fastify more convenient. Adds support for Fastify routes returning functional structures, such as Either, Task or plain parameterless function.
    • fastify-helmet Important security headers for Fastify.
    • Proxy your HTTP requests to another server, with hooks.
    • fastify-jwt JWT utils for Fastify, internally uses .
    • fastify-leveldb Plugin to share a common LevelDB connection across Fastify.
    • 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.
    • Wrap around simple-oauth2.
    • 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.
    • Request-scoped storage, based on AsyncLocalStorage (with fallback to ), providing functionality similar to thread-local storages.
    • fastify-response-validation A simple plugin that enables response validation for Fastify.
    • React server-side rendering support for Fastify with Next.
    • 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.
    • Plugin that provides a Map of routes.
    • fastify-schedule Plugin for scheduling periodic jobs, based on .
    • 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.
    • a session plugin for Fastify.
    • fastify-static Plugin for serving static files as fast as possible.
    • Plugin for serving Swagger/OpenAPI documentation for Fastify, supporting dynamic generation.
    • fastify-websocket WebSocket support for Fastify. Built upon .
    • fastify-url-data Decorate the Request object with a method to access raw URL components.
    • Middleware engine for Fastify.
    • point-of-view Templates rendering (ejs, pug, handlebars, marko) plugin support for Fastify.
    • Measure process load with automatic handling of “Service Unavailable” plugin for Fastify.

    • @applicazza/fastify-nextjs Alternate Fastify and Next.js integration.
    • Strongly typed routes with a runtime validation using JSON schema generated from types.
    • @dnlup/fastify-doc A plugin for sampling process metrics.
    • A plugin to close the server gracefully on and SIGTERM signals.
    • @gquittet/graceful-server Tiny (~5k), Fast, KISS, and dependency-free Node.JS library to make your Fastify API graceful.
    • Minimalistic and opinionated plugin that collects usage/process metrics and dispatches to statsd.
    • A plugin to close the server gracefully
    • @mgcrea/fastify-request-logger A plugin to enable compact request logging for Fastify
    • Redis store for @mgcrea/fastify-session using ioredis
    • @mgcrea/fastify-session-sodium-crypto Fast sodium-based crypto for @mgcrea/fastify-session
    • Session plugin for Fastify that supports both stateless and stateful sessions
    • @mgcrea/pino-pretty-compact A custom compact pino-base prettifier
    • SeaweedFS for Fastify
    • apollo-server-fastify Run an to serve GraphQL with Fastify.
    • arecibo Fastify ping responder for Kubernetes Liveness and Readiness Probes.
    • 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 routes
    • Fastify plugin that automatically adds an Allow header to responses with routes. Also sends 405 responses for routes that have a handler but not for the request’s method.
    • fastify-amqp Fastify AMQP connection plugin, to use with RabbitMQ or another connector. Just a wrapper to .
    • fastify-angular-universal Angular server-side rendering support using for Fastify
    • fastify-appwrite Fastify Plugin for interacting with Appwrite server.
    • : Auth0 verification plugin for Fastify, internally uses fastify-jwt and .
    • fastify-autocrud Plugin to auto-generate CRUD routes as fast as possible.
    • Plugin to scan and load routes based on filesystem path from a custom directory.
    • fastify-axios Plugin to send HTTP requests via .
    • fastify-babel Fastify plugin for development servers that require Babel transformations of JavaScript sources.
    • A Bcrypt hash generator & checker.
    • fastify-blipp Prints your routes to the console, so you definitely know which endpoints are available.
    • Fastify plugin to add bookshelf.js ORM support.
    • Fastify plugin to add boom support.
    • Fastify plugin to add bree support.
    • Casbin support for Fastify.
    • fastify-casbin-rest Casbin support for Fastify based on a RESTful model.
    • 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 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 plugin to add CouchDB support via nano.
    • A plugin to rapidly generate CRUD routes for any entity.
    • fastify-custom-healthcheck Fastify plugin to add health route in your server that asserts custom functions.
    • Fastify plugin that provides the set of TypeScript decorators.
    • fastify-disablecache Fastify plugin to disable client-side caching, inspired by .
    • fastify-dynamodb AWS DynamoDB plugin for Fastify. It exposes object.
    • fastify-dynareg Dynamic plugin register for Fastify.
    • Plugin to add HTTP 103 feature based on RFC 8297
    • Fastify plugin to integrate envalid in your Fastify project.
    • Fastify plugin to print errors in structured HTML to the browser.
    • fastify-esso The easiest authentication plugin for Fastify, with built-in support for Single sign-on (and great documentation).
    • Get control of your decorators across all the encapsulated contexts.
    • fastify-favicon Fastify plugin to serve default favicon.
    • Fastify feature flags plugin with multiple providers support (e.g. env, config, ).
    • fastify-file-upload Fastify plugin for uploading files.
    • Fastify plugin for Firebase Admin SDK to Fastify so you can easily use Firebase Auth, Firestore, Cloud Storage, Cloud Messaging, and more.
    • Firebase Authentication for Fastify supporting all of the methods relating to the authentication API.
    • fastify-formidable Handy plugin to provide multipart support and fastify-swagger integration.
    • Google Cloud Trace API Connector for Fastify.
    • Small plugin to set a new HEAD route handler for each GET route previously registered in Fastify.
    • fastify-good-sessions A good Fastify sessions plugin focused on speed.
    • Fastify plugin that exposes a GCP Cloud Storage client instance.
    • fastify-grant Authentication/Authorization plugin for Fastify that supports 200+ OAuth Providers.
    • A Fastify plugin that protects endpoints by checking authenticated user roles and/or scopes.
    • fastify-graceful-shutdown Shutdown Fastify gracefully and asynchronously.
    • A Fastify plugin to have fun with Hasura.
    • Fastify plugin to serve a health check route and a probe script.
    • fastify-hemera Fastify Hemera plugin, for writing reliable & fault-tolerant microservices with .
    • 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.
    • Redirect HTTP requests to HTTPS, both using the same port number, or different response on HTTP and HTTPS.
    • fastify-http-client Plugin to send HTTP(s) requests. Built upon .
    • fastify-http-errors-enhanced An error handling plugin for Fastify that uses enhanced HTTP errors.
    • Fastify plugin for auto-redirect from HTTP to HTTPS.
    • fastify-influxdb Fastify InfluxDB plugin connecting to an InfluxDB instance via the Influx default package.
    • JWT user scope verifier.
    • fastify-jwt-webapp JWT authentication for Fastify-based web apps.
    • Fastify plugin for support KnexJS Query Builder.
    • fastify-knexjs-mock Fastify Mock KnexJS for testing support.
    • Fastify Kubernetes client plugin.
    • fastify-language-parser Fastify plugin to parse request language.
    • Load routes from a directory and inject the Fastify instance in each file.
    • fastify-lured Plugin to load lua scripts with and lured.
    • Plugin to initialize and encapsulate Nodemailer‘s transporters instances in Fastify.
    • Plugin to markdown support.
    • fastify-method-override Plugin for Fastify, which allows the use of HTTP verbs, such as DELETE, PATCH, HEAD, PUT, OPTIONS in case the client doesn’t support them.
    • Plugin for exporting Prometheus metrics.
    • Plugin for minification and transformation of responses.
    • fastify-mongo-memory Fastify MongoDB in Memory Plugin for testing support.
    • 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 and MessagePack, together at last. Uses @msgpack/msgpack by default.
    • fastify-multer Multer is a plugin for handling multipart/form-data, which is primarily used for uploading files.
    • Add additionalProperties: false by default to your JSON Schemas.
    • fastify-no-icon Plugin to eliminate thrown errors for /favicon.ico requests.
    • Plugin to share nodemailer transporter across Fastify.
    • 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 Fastify.
    • Vue server-side rendering support for Fastify with Nuxt.js Framework.
    • fastify-oas Generates OpenAPI 3.0+ documentation from routes schemas for Fastify.
    • Plugin for the Fastify framework that provides integration with objectionjs ORM.
    • fastify-objectionjs-classes Plugin to cherry-pick classes from objectionjs ORM.
    • A Fastify plugin that generates OpenAPI spec automatically.
    • fastify-openapi-glue Glue for OpenAPI specifications in Fastify, autogenerates routes based on an OpenAPI Specification.
    • A Fastify plugin that uses the OpenTelemetry API to provide request tracing.
    • Attaches an oracledb connection pool to a Fastify server instance.
    • 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 .
    • fastify-peekaboo Fastify plugin for memoize responses by expressive settings.
    • A plugin to handle i18n using node-polyglot.
    • Plugin to integrate PostGraphile in a Fastify project.
    • A Fastify plugin that uses prettier under the hood to beautify outgoing responses and/or other things in the Fastify server.
    • A Fastify plugin that prints all available routes.
    • fastify-protobufjs Fastify and protobufjs, together at last. Uses protobufjs by default.
    • This plugin utilizes qrcode to generate QR Code.
    • A plugin for Fastify that adds support for parsing URL query parameters with qs.
    • Add the field.
    • fastify-rbac Fastify role-based access control plugin.
    • Fastify plugin for recaptcha verification.
    • fastify-redis-channels A plugin for fast, reliable, and scalable channels implementation based on Redis streams.
    • Plugin to automatically load routes from a specified path and optionally limit loaded file names by a regular expression.
    • fastify-response-time Add X-Response-Time header at each request for Fastify, in milliseconds.
    • 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 plugin, allows to defined named routes and build path using name and parameters.
    • fastify-rob-config Fastify Rob-Config integration.
    • Convenient grouping and inheritance of routes
    • fastify-schema-constraint Choose the JSON schema to use based on request parameters.
    • Generate typescript types based on your JSON/YAML validation schemas so they are always in sync.
    • fastify-secure-session Create a secure stateless cookie session for Fastify.
    • 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).
    • A session plugin with support for arbitrary backing caches via fastify-caching.
    • fastify-slonik Fastify Slonik plugin, with this you can use slonik in every part of your server.
    • a SOAP client plugin for Fastify.
    • fastify-socket.io a Socket.io plugin for Fastify.
    • to provide Server-Sent Events with reply.sse( … ) to Fastify.
    • fastify-sse-v2 to provide Server-Sent Events using Async Iterators (supports newer versions of Fastify).
    • Plugin to initialize and encapsulate Stripe Node.js instances in Fastify.
    • Plugin to initialize and encapsulate Supabase instances in Fastify.
    • Automatically generate a browser-compatible, trusted, self-signed, localhost-only, TLS certificate.
    • fastify-tokenize plugin for Fastify that removes the pain of managing authentication tokens, with built-in integration for .
    • fastify-totp A plugin to handle TOTP (e.g. for 2FA).
    • Useful functions for Twitch Extension Backend Services (EBS).
    • fastify-typeorm-plugin Fastify plugin to work with TypeORM.
    • 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-vite plugin for Fastify with SSR data support.
    • fastify-vue-plugin plugin for Fastify. Control the routes nuxt should use.
    • fastify-wamp-router Web Application Messaging Protocol router for Fastify.
    • A Fastify plugin for waterline. Decorates Fastify with waterline models.
    • fastify-webpack-hmr Webpack hot module reloading plugin for Fastify.
    • WebSocket integration for Fastify — with support for WebSocket lifecycle hooks instead of a single handler function. Built upon ws and .
    • fastify-xml-body-parser Parse XML payload / request body into JS / JSON object.
    • Fastify plugin for AWS XRay recording.
    • i18next-http-middleware An based i18n (internationalization) middleware to be used with Node.js web frameworks like Express or Fastify and also for Deno.
    • k-fastify-gateway API Gateway plugin for Fastify, a low footprint implementation that uses the fastify-reply-from HTTP proxy library.
    • A fully-featured and performant GraphQL server implementation for Fastify.
    • nstats A fast and compact way to get all your network and process stats for your node application. Websocket, HTTP/S, and prometheus compatible!
    • OAS 3.x to Fastify routes automation. Automatically generates route handlers with fastify configuration and validation.
    • openapi-validator-middleware Swagger and OpenAPI 3.0 spec-based request validation middleware that supports Fastify.
    • A simple and lightweight Sequelize plugin for Fastify.