{"repo":"Yizack/nuxt-webhook-validators","free":true,"listed":false,"github":"https://github.com/Yizack/nuxt-webhook-validators","clone":"git clone https://github.com/Yizack/nuxt-webhook-validators.git","description":"A simple nuxt module that works on the edge to easily validate incoming webhooks from different services.","language":"TypeScript","stars":51,"topics":["nuxt","validator","webhooks"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Nuxt Webhook Validators [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![License][license-src]][license-href] [![Nuxt][nuxt-src]][nuxt-href] [![Modules][modules-src]][modules-href] A simple nuxt module that works on the edge to easily validate incoming webhooks from different services. - ✨ Release Notes Features - 24 Webhook validators - Works on the edge - Exposed Server utils Requirements This module only works with a Nuxt server running as it uses server API routes ( nuxt build ). This means that you cannot use this module with nuxt generate . Quick Setup 1. Add nuxt-webhook-validators in your Nuxt project 2. Add the module in your nuxt.config.ts Server utils The validator helpers are auto-imported in your server/ directory. Webhook Validators All validator helpers are exposed globally and can be used in your server API routes. The helpers return a boolean value indicating if the webhook request is valid or not. The config can be defined directly from the runtimeConfig in your nuxt.config.ts : It can also be set using environment variables: Go to playground/.env.example or playground/nuxt.config.ts to see a list of all the available properties needed for each provider. Supported webhook validators - Bitbucket - Brevo - Cal.com - Discord - Dropbox - Fourthwall - GitHub - GitLab - Heroku - Hygraph - Kick - MailChannels - Meta - Netlify - Paddle - PayPal - Polar - Resend - Shopify - Slack - Stripe - Svix - Twitch","default_branch":null,"files":null,"tree":[],"storefront":"/r/Yizack","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Yizack/nuxt-webhook-validators/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}