How to write a good plugin Code Documentation License Examples Test Code Linter Continuous Integration Let's start! How to write a good plugin First, thank you for deci...
Compression Use with Express (default) Use with Fastify Compression Compression can greatly decrease the size of the response body, thereby increasing the speed of a web app....
Logging Log Redaction Logging Logging is disabled by default, and you can enable it by passing { logger: true } or { logger: { level: 'info' } } when you create a fastify in...
Compression Use with Express (default) Use with Fastify Compression Compression can greatly decrease the size of the response body, thereby increasing the speed of a web app. ...
Testing Testing with http injection Example: Testing with a running server Example: How to inspect tap tests Testing Testing is one of the most important parts of developi...
Encapsulation Sharing Between Contexts Encapsulation A fundamental feature of Fastify is the “encapsulation context.” The encapsulation context governs which decorators , regi...
Helmet Use with Express (default) Use with Fastify Helmet Helmet can help protect your app from some well-known web vulnerabilities by setting HTTP headers appropriately. Gen...