생태계
Fastify 팀에서 관리되는 플러그인들은 Core 아래에 정리되었으며 커뮤니티에 의해 관리되는 플러그인들은 Community 쪽에 정리했습니다.
Core
fastify-accepts는 요청 객체에 accepts를 지원하도록 합니다.fastify-accepts-serializer는Accept헤더에 따라 응답을 직렬화합니다.fastify-auth는 Fastify에서 여러 인증 계층을 실행합니다.fastify-autoload는 디렉터리의 모든 플러그인을 포함합니다.fastify-awilix는 awilix에 기반한 의존성 주입을 지원합니다.fastify-bankai는 Fastify를 위한 Bankai 에셋 컴파일러입니다.fastify-basic-auth는 Fastify를 위한 기본 인증 플러그인입니다.fastify-bearer-auth는 Fastify를 위한 베어러 인증 플러그인입니다.fastify-caching는 범용 서버 측 캐시와 ETag 지원을 추가합니다.fastify-circuit-breaker는 적은 오버헤드의 라우팅별 회로 차단기입니다.fastify-compress는 Fastify 압축 유틸리티입니다.fastify-cookie는 쿠키 헤더를 파싱하고 설정합니다.fastify-cors는 Fastify에서 CORS 사용을 활성화합니다.fastify-csrf는 Fastify에 CSRF 지원을 추가합니다.fastify-diagnostics-channel는diagnostics_channel를 Fastify와 함께 사용하기 위한 플러그인입니다.fastify-elasticsearch는 같은 ElasticSearch 클라이언트를 공유하기 위한 플러그인입니다.fastify-env는 설정을 확인하고 가져옵니다.fastify-etag는 HTTP 응답에 대한 ETag를 자동으로 생성합니다.fastify-flash는 세션을 사용해 플래시 메세지를 설정하고 가져옵니다.fastify-formbody는 x-www-form-urlencoded 요청 본문을 해석합니다.fastify-funky는 Fastify에서의 함수형 프로그래밍을 조금 더 편하게 만듭니다. 그리고 Fastify 라우팅이 Either, Task, 순수한 파라메터가 없는 함수를 반환하도록 합니다.fastify-helmet은 Fastify에 중요한 보안 헤더를 추가해줍니다.fastify-http-proxy는 HTTP 요청들을 다른 서버로 훅과 함께 프록시할 수 있게 해줍니다.fastify-jwt는 jsonwebtoken를 내부적으로 사용하는 Fastify의 JWT 유틸리티입니다.fastify-leveldb는 LevelDB 연결을 Fastify에서 공유하기 위한 플러그인입니다.fastify-mongodb는 MongoDB 커넥션 풀을 Fastify에서 공유할 수 있는 Fastify MongoDB 커넥션 플러그인입니다.fastify-multipart는 Fastify에 multipart 지원을 추가합니다.fastify-oauth2는simple-oauth2래퍼입니다.fastify-postgres는 Fastify에서 같은 Postgres 커넥션 풀을 공유하기 위한 플러그인입니다.fastify-rate-limit은 적은 오버헤드로 라우팅별 rate limit을 설정해줍니다.fastify-request-context는 thread-local 스토리지와 유사한 AsyncLocalStorage (없다면 cls-hooked)에 기반한 요청 스토리지 플러그인입니다.fastify-response-validation은 Fastify에서 응답 검증을 활성화하는 플러그인입니다.fastify-nextjs는 Next를 활용하여 Fastify에 React SSR을 지원합니다.fastify-redis는 Fastify Redis 커넥터 플러그인으로 서버 전역에서 연결을 공유할 수 있도록 합니다.fastify-reply-from는 다른 서버로 현재 요청을 포워딩해줍니다.fastify-routesPlugin that provides aMapof routes.fastify-schedulePlugin for scheduling periodic jobs, based on toad-scheduler.fastify-sensibleDefaults 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/sessiona session plugin for Fastify.fastify-staticPlugin for serving static files as fast as possible.fastify-swaggerPlugin for serving Swagger/OpenAPI documentation for Fastify, supporting dynamic generation.fastify-websocketWebSocket support for Fastify. Built upon ws.fastify-url-dataDecorate theRequestobject with a method to access raw URL components.point-of-viewTemplates rendering (ejs, pug, handlebars, marko) plugin support for Fastify.under-pressureMeasure process load with automatic handling of "Service Unavailable" plugin for Fastify.
Community
@applicazza/fastify-nextjsAlternate Fastify and Next.js integration.@coobaha/typed-fastifyStrongly typed routes with a runtime validation using JSON schema generated from types.@dnlup/fastify-docA plugin for sampling process metrics.@dnlup/fastify-trapsA plugin to close the server gracefully onSIGINTandSIGTERMsignals.@gquittet/graceful-serverTiny (~5k), Fast, KISS, and dependency-free Node.JS library to make your Fastify API graceful.@mgcrea/fastify-graceful-exitA plugin to close the server gracefully@mgcrea/fastify-request-loggerA plugin to enable compact request logging for Fastify@mgcrea/fastify-session-redis-storeRedis store for @mgcrea/fastify-session using ioredis@mgcrea/fastify-session-sodium-cryptoFast sodium-based crypto for @mgcrea/fastify-session@mgcrea/fastify-sessionSession plugin for Fastify that supports both stateless and stateful sessions@mgcrea/pino-pretty-compactA custom compact pino-base prettifier@trubavuong/fastify-seaweedfsSeaweedFS for Fastifyapollo-server-fastifyRun an Apollo Server to serve GraphQL with Fastify.areciboFastify ping responder for Kubernetes Liveness and Readiness Probes.cls-rtracerFastify middleware for CLS-based request ID generation. An out-of-the-box solution for adding request IDs into your logs.fastify-405Fastify plugin that adds 405 HTTP status to your routesfastify-allowFastify 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-amqpFastify AMQP connection plugin, to use with RabbitMQ or another connector. Just a wrapper toamqplib.fastify-angular-universalAngular server-side rendering support using@angular/platform-serverfor Fastifyfastify-api-keyFastify plugin to authenticate HTTP requests based on api key and signaturefastify-appwriteFastify Plugin for interacting with Appwrite server.fastify-auth0-verify: Auth0 verification plugin for Fastify, internally uses fastify-jwt and jsonwebtoken.fastify-autocrudPlugin to auto-generate CRUD routes as fast as possible.fastify-autoroutesPlugin to scan and load routes based on filesystem path from a custom directory.fastify-axiosPlugin to send HTTP requests via axios.fastify-babelFastify plugin for development servers that require Babel transformations of JavaScript sources.fastify-bcryptA Bcrypt hash generator & checker.fastify-blippPrints your routes to the console, so you definitely know which endpoints are available.fastify-bookshelfFastify plugin to add bookshelf.js ORM support.fastify-boomFastify plugin to add boom support.fastify-breeFastify plugin to add bree support.fastify-casbinCasbin support for Fastify.fastify-casbin-restCasbin support for Fastify based on a RESTful model.fastify-caslFastify 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-cloudeventsFastify plugin to generate and forward Fastify events in the Cloudevents format.fastify-cockroachdbFastify plugin to connect to a CockroachDB PostgreSQL instance via the Sequelize ORM.fastify-couchdbFastify plugin to add CouchDB support via nano.fastify-custom-healthcheckFastify plugin to add health route in your server that asserts custom functions.fastify-decoratorsFastify plugin that provides the set of TypeScript decorators.fastify-disablecacheFastify plugin to disable client-side caching, inspired by nocache.fastify-dynamodbAWS DynamoDB plugin for Fastify. It exposes AWS.DynamoDB.DocumentClient() object.fastify-dynaregDynamic plugin register for Fastify.fastify-early-hintsPlugin to add HTTP 103 feature based on RFC 8297fastify-envalidFastify plugin to integrate envalid in your Fastify project.fastify-error-pageFastify plugin to print errors in structured HTML to the browser.fastify-essoThe easiest authentication plugin for Fastify, with built-in support for Single sign-on (and great documentation).fastify-explorerGet control of your decorators across all the encapsulated contexts.fastify-faviconFastify plugin to serve default favicon.fastify-feature-flagsFastify feature flags plugin with multiple providers support (e.g. env, config, unleash).fastify-file-uploadFastify plugin for uploading files.fastify-firebaseFastify plugin for Firebase Admin SDK to Fastify so you can easily use Firebase Auth, Firestore, Cloud Storage, Cloud Messaging, and more.fastify-firebase-authFirebase Authentication for Fastify supporting all of the methods relating to the authentication API.fastify-formidableHandy plugin to provide multipart support and fastify-swagger integration.fastify-gcloud-traceGoogle Cloud Trace API Connector for Fastify.fastify-get-headSmall plugin to set a new HEAD route handler for each GET route previously registered in Fastify.fastify-good-sessionsA good Fastify sessions plugin focused on speed.fastify-google-cloud-storageFastify plugin that exposes a GCP Cloud Storage client instance.fastify-grantAuthentication/Authorization plugin for Fastify that supports 200+ OAuth Providers.fastify-guardA Fastify plugin that protects endpoints by checking authenticated user roles and/or scopes.fastify-graceful-shutdownShutdown Fastify gracefully and asynchronously.fastify-hasuraA Fastify plugin to have fun with Hasura.fastify-healthcheckFastify plugin to serve a health check route and a probe script.fastify-hemeraFastify Hemera plugin, for writing reliable & fault-tolerant microservices with nats.io.fastify-http-contextFastify 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-http2httpsRedirect HTTP requests to HTTPS, both using the same port number, or different response on HTTP and HTTPS.fastify-http-clientPlugin to send HTTP(s) requests. Built upon urllib.fastify-http-errors-enhancedAn error handling plugin for Fastify that uses enhanced HTTP errors.fastify-https-redirectFastify plugin for auto-redirect from HTTP to HTTPS.fastify-influxdbFastify InfluxDB plugin connecting to an InfluxDB instance via the Influx default package.fastify-jwt-authzJWT user scope verifier.fastify-jwt-webappJWT authentication for Fastify-based web apps.fastify-knexjsFastify plugin for support KnexJS Query Builder.fastify-knexjs-mockFastify Mock KnexJS for testing support.fastify-kubernetesFastify Kubernetes client plugin.fastify-language-parserFastify plugin to parse request language.fastify-loaderLoad routes from a directory and inject the Fastify instance in each file.fastify-luredPlugin to load lua scripts with fastify-redis and lured.fastify-mailerPlugin to initialize and encapsulate Nodemailer's transporters instances in Fastify.fastify-markdownPlugin to markdown support.fastify-method-overridePlugin for Fastify, which allows the use of HTTP verbs, such as DELETE, PATCH, HEAD, PUT, OPTIONS in case the client doesn't support them.fastify-metricsPlugin for exporting Prometheus metrics.fastify-minifyPlugin for minification and transformation of responses.fastify-mongo-memoryFastify MongoDB in Memory Plugin for testing support.fastify-mongoose-apiFastify plugin to create REST API methods based on Mongoose MongoDB models.fastify-mongoose-driverFastify Mongoose plugin that connects to a MongoDB via the Mongoose plugin with support for Models.fastify-msgpackFastify and MessagePack, together at last. Uses @msgpack/msgpack by default.fastify-multerMulter is a plugin for handling multipart/form-data, which is primarily used for uploading files.fastify-natsPlugin to share NATS client across Fastify.fastify-no-additional-propertiesAddadditionalProperties: falseby default to your JSON Schemas.fastify-no-iconPlugin to eliminate thrown errors for/favicon.icorequests.fastify-nodemailerPlugin to share nodemailer transporter across Fastify.fastify-normalize-request-replyPlugin 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-nowStructure your endpoints in a folder and load them dynamically with Fastify.fastify-nuxtjsVue server-side rendering support for Fastify with Nuxt.js Framework.fastify-oasGenerates OpenAPI 3.0+ documentation from routes schemas for Fastify.fastify-objectionjsPlugin for the Fastify framework that provides integration with objectionjs ORM.fastify-objectionjs-classesPlugin to cherry-pick classes from objectionjs ORM.fastify-openapi-docsA Fastify plugin that generates OpenAPI spec automatically.fastify-openapi-glueGlue for OpenAPI specifications in Fastify, autogenerates routes based on an OpenAPI Specification.fastify-opentelemetryA Fastify plugin that uses the OpenTelemetry API to provide request tracing.fastify-oracleAttaches anoracledbconnection pool to a Fastify server instance.fastify-orientdbFastify OrientDB connection plugin, with which you can share the OrientDB connection across every part of your server.fastify-piscinaA worker thread pool plugin using Piscina.fastify-peekabooFastify plugin for memoize responses by expressive settings.fastify-postgraphilePlugin to integrate PostGraphile in a Fastify project.fastify-prettierA Fastify plugin that uses prettier under the hood to beautify outgoing responses and/or other things in the Fastify server.fastify-print-routesA Fastify plugin that prints all available routes.fastify-protobufjsFastify and protobufjs, together at last. Uses protobufjs by default.fastify-qrcodeThis plugin utilizes qrcode to generate QR Code.fastify-qsA plugin for Fastify that adds support for parsing URL query parameters with qs.fastify-raw-bodyAdd therequest.rawBodyfield.fastify-rbacFastify role-based access control plugin.fastify-recaptchaFastify plugin for recaptcha verification.fastify-redis-channelsA plugin for fast, reliable, and scalable channels implementation based on Redis streams.fastify-register-routesPlugin to automatically load routes from a specified path and optionally limit loaded file names by a regular expression.fastify-response-timeAddX-Response-Timeheader at each request for Fastify, in milliseconds.fastify-response-cachingA Fastify plugin for caching the response.fastify-restyFastify-based web framework with REST API routes auto-generation for TypeORM entities using DI and decorators.fastify-reverse-routesFastify reverse routes plugin, allows to defined named routes and build path using name and parameters.fastify-rob-configFastify Rob-Config integration.fastify-route-groupConvenient grouping and inheritance of routesfastify-schema-constraintChoose the JSON schema to use based on request parameters.fastify-schema-to-typescriptGenerate typescript types based on your JSON/YAML validation schemas so they are always in sync.fastify-secure-sessionCreate a secure stateless cookie session for Fastify.fastify-sentryFastify plugin to add the Sentry SDK error handler to requests.fastify-sequelizeFastify plugin work with Sequelize (adapter for NodeJS -> Sqlite, Mysql, Mssql, Postgres).fastify-server-sessionA session plugin with support for arbitrary backing caches viafastify-caching.fastify-slonikFastify Slonik plugin, with this you can use slonik in every part of your server.fastify-soap-clienta SOAP client plugin for Fastify.fastify-socket.ioa Socket.io plugin for Fastify.fastify-sseto provide Server-Sent Events withreply.sse( … )to Fastify.fastify-sse-v2to provide Server-Sent Events using Async Iterators (supports newer versions of Fastify).fastify-stripePlugin to initialize and encapsulate Stripe Node.js instances in Fastify.fastify-supabasePlugin to initialize and encapsulate Supabase instances in Fastify.fastify-tls-keygenAutomatically generate a browser-compatible, trusted, self-signed, localhost-only, TLS certificate.fastify-tokenizeTokenize plugin for Fastify that removes the pain of managing authentication tokens, with built-in integration forfastify-auth.fastify-totpA plugin to handle TOTP (e.g. for 2FA).fastify-twitch-ebs-toolsUseful functions for Twitch Extension Backend Services (EBS).fastify-typeorm-pluginFastify plugin to work with TypeORM.fastify-vhostProxy 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-viteVite plugin for Fastify with SSR data support.fastify-vue-pluginNuxt.js plugin for Fastify. Control the routes nuxt should use.fastify-wamp-routerWeb Application Messaging Protocol router for Fastify.fast-waterA Fastify plugin for waterline. Decorates Fastify with waterline models.fastify-webpack-hmrWebpack hot module reloading plugin for Fastify.fastify-wsWebSocket integration for Fastify — with support for WebSocket lifecycle hooks instead of a single handler function. Built upon ws and uws.fastify-xml-body-parserParse XML payload / request body into JS / JSON object.fastify-xrayFastify plugin for AWS XRay recording.i18next-http-middlewareAn i18next based i18n (internationalization) middleware to be used with Node.js web frameworks like Express or Fastify and also for Deno.k-fastify-gatewayAPI Gateway plugin for Fastify, a low footprint implementation that uses thefastify-reply-fromHTTP proxy library.mercuriusA fully-featured and performant GraphQL server implementation for Fastify.nstatsA fast and compact way to get all your network and process stats for your node application. Websocket, HTTP/S, and prometheus compatible!oas-fastifyOAS 3.x to Fastify routes automation. Automatically generates route handlers with fastify configuration and validation.openapi-validator-middlewareSwagger and OpenAPI 3.0 spec-based request validation middleware that supports Fastify.sequelize-fastifyA simple and lightweight Sequelize plugin for Fastify.