nuxt / modules

Discover the Nuxt modules to add any CMS, Database, UI, Auth and integrations into your Vue application.
https://nuxt.com/modules
MIT License
899 stars 231 forks source link

[Module Listing Request]: `nuxt-webhook-validators` #992

Open Yizack opened 1 week ago

Yizack commented 1 week ago

Description

Nuxt module that works on the edge to easily validate incoming webhooks from different services. It exposes server helpers to validate webhooks.

Since many webhook docs use examples using Node Crypto functions unavailable on the edge (Cloudflare pages for example), I used Web Crypto subtle to validate webhooks applying logic from the providers and making this module have them in one place (in a similar way to what nuxt-auth-utils does with the providers).

Repository

https://github.com/Yizack/nuxt-webhook-validators

npm

https://www.npmjs.com/package/nuxt-webhook-validators

Nuxt Compatibility

Nuxt 3