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).
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