Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 JavaScript fastify-plugin Projects
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
fastify-openapi-glue
A plugin for the Fastify webserver to autogenerate a Fastify configuration based on a OpenApi(v2/v3) specification.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
With Speakeasy, you can create client SDKs based on an OpenAPI specification. Fastify ships with the @fastify/swagger plugin, which provides convenient shortcuts for generating good OpenAPI specifications. We'll start this tutorial by registering @fastify/swagger in a Fastify project to generate a spec.
Let me explain it again. The banlist is mean to inspect the payload/claims and deny access even if the signature/JWT is valid. We don't need to change anything else. A lot of libraries already provide such a feature. For example https://github.com/fastify/fastify-jwt via the trusted preHook.
Project mention: 5 Node.js security code snippets every backend developer should know | dev.to | 2024-02-29fastify-rate-limit is a plugin for the Fastify web framework that provides an easy-to-use interface for implementing rate limiting in your Node.js applications. The plugin lets you specify the maximum number of requests a client can make within a specific timeframe and the response to send when this limit is exceeded.
We can replace this middleware with the @fastify/static plugin, which you can install through the command below:
cors -> @fastify/cors.
helmet -> @fastify/helmet.
Since we've migrated our only application route that renders templates, the above lines are no longer needed and can be safely deleted. But you now need to configure Fastify to render the Pug template through the @fastify/view plugin. It decorates the Reply interface with a method that we'll then use to render the template.
Fastify also supports Express-style middleware but it requires you to install an external plugin such as @fastify/express or @fastify/middie. This eases migration from Express to Fastify, but it should not be used in greenfield projects in favor of hooks. Note that in many cases, you can find a native Fastify plugin that provides the same functionality as Express middleware.
There were several options on the table, but 2 options were more serious than the others. The first option is to use the @fastify/fastify-oauth2 package. The second option is to use Google Auth Library.
As mentioned in part 2 of this series, using the @fastify/express plugin is the quickest way to get your existing Express application working with Fastify. The plugin adds full Express compatibility to Fastify so that you can easily use any Express middleware — or even an entire Express application — with your Fastify instance, and it will just work with no changes required.
Project mention: To use multiple env files for each environment or not? What is your take on this? How are you implementing this? | /r/node | 2023-06-22so how would you do this on fastify since it doesnt seem to support it
JavaScript fastify-plugin related posts
- 5 Node.js security code snippets every backend developer should know
- Google OAuth2 with Fastify + TypeScript From Scratch
- Migrate Your Express Application to Fastify
- To use multiple env files for each environment or not? What is your take on this? How are you implementing this?
- Advanced Fastify: Hooks, Middleware, and Decorators
- HELP: How do you secure REST APIs for modern front-ends?
- Help Converting Express Routes/Middleware/Controllers to Fastify
-
A note from our sponsor - InfluxDB
www.influxdata.com | 28 Apr 2024
Index
What are some of the best open-source fastify-plugin projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | fastify-swagger | 851 |
2 | fastify-vite | 795 |
3 | fastify-nextjs | 515 |
4 | fastify-jwt | 477 |
5 | fastify-rate-limit | 447 |
6 | fastify-multipart | 439 |
7 | fastify-static | 405 |
8 | fastify-cors | 380 |
9 | fastify-websocket | 375 |
10 | fastify-helmet | 369 |
11 | fastify-auth | 323 |
12 | point-of-view | 319 |
13 | fastify-http-proxy | 319 |
14 | fastify-autoload | 307 |
15 | middie | 233 |
16 | fastify-oauth2 | 234 |
17 | fastify-express | 226 |
18 | fastify-compress | 187 |
19 | fastify-redis | 183 |
20 | fastify-openapi-glue | 183 |
21 | fastify-env | 182 |
22 | fastify-postgres | 171 |
23 | fastify-reply-from | 145 |
Sponsored