Skip to content

Commit f69c98e

Browse files
authored
docs(readme): add compatibility table (#162)
Signed-off-by: Frazer Smith <[email protected]>
1 parent b8e657c commit f69c98e

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

Readme.md renamed to README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,25 @@
77
A plugin for [Fastify](https://fastify.dev/) that adds support for getting raw
88
URL information from the request.
99

10+
## Install
11+
```
12+
npm i @fastify/url-data
13+
```
14+
15+
### Compatibility
16+
| Plugin version | Fastify version |
17+
| ---------------|-----------------|
18+
| `^6.x` | `^5.x` |
19+
| `^5.x` | `^4.x` |
20+
| `^3.x` | `^3.x` |
21+
| `^2.x` | `^2.x` |
22+
| `^2.x` | `^1.x` |
23+
24+
25+
Please note that if a Fastify version is out of support, then so are the corresponding versions of this plugin
26+
in the table above.
27+
See [Fastify's LTS policy](https://github.com/fastify/fastify/blob/main/docs/Reference/LTS.md) for more details.
28+
1029
## Example
1130

1231
```js
@@ -32,4 +51,4 @@ fastify.get('/foo', (req, reply) => {
3251

3352
## License
3453

35-
Licensed under [MIT](./LICENSE)
54+
Licensed under [MIT](./LICENSE).

0 commit comments

Comments
 (0)