Skip to content

Commit

Permalink
chore: add section to readme for community packages
Browse files Browse the repository at this point in the history
  • Loading branch information
nozomuikuta committed Dec 4, 2022
1 parent bd41ee3 commit d8e7b6d
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,23 @@ H3 has concept of compasable utilities that accept `event` (from `eventHandler((
👉 You can learn more about usage in [JSDocs Documentation](https://www.jsdocs.io/package/h3#package-functions).
### Add-ons
## Community Packages
More composable utilities can be found in community packages.
You can find more event handlers and composable utilities from the community.
- `validateBody(event, schema)` from [h3-typebox](https://github.com/kevinmarrec/h3-typebox)
- `validateQuery(event, schema)` from [h3-typebox](https://github.com/kevinmarrec/h3-typebox)
- `useValidatedBody(event, schema)` from [h3-zod](https://github.com/wobsoriano/h3-zod)
- `useValidatedQuery(event, schema)` from [h3-zod](https://github.com/wobsoriano/h3-zod)
Please check their READMEs for more details.
PRs are welcome to add your packages.
- [h3-cors](https://github.com/NozomuIkuta/h3-cors)
- `defineCorsEventHandler(options)`
- `isPreflight(event)`
- [h3-typebox](https://github.com/kevinmarrec/h3-typebox)
- `validateBody(event, schema)`
- `validateQuery(event, schema)`
- [h3-zod](https://github.com/wobsoriano/h3-zod)
- `useValidatedBody(event, schema)`
- `useValidatedQuery(event, schema)`
## License
Expand Down

0 comments on commit d8e7b6d

Please sign in to comment.