diff --git a/README.md b/README.md index 39eed7c..4e51d2a 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,21 @@ ``` npm i @fastify/basic-auth ``` + +### Compatibility +| Plugin version | Fastify version | +| ---------------|-----------------| +| `^6.x` | `^5.x` | +| `^4.x` | `^4.x` | +| `^1.x` | `^3.x` | +| `^0.x` | `^2.x` | +| `^0.x` | `^1.x` | + + +Please note that if a Fastify version is out of support, then so are the corresponding versions of this plugin +in the table above. +See [Fastify's LTS policy](https://github.com/fastify/fastify/blob/main/docs/Reference/LTS.md) for more details. + ## Usage This plugin decorates the fastify instance with a `basicAuth` function, which you can use inside any hook before your route handler, or with [`@fastify/auth`](https://github.com/fastify/fastify-auth).