Typescript/Javascript library for Standard Webhooks
Verifying a webhook payload:
import { Webhook } from "standardwebhooks"
const wh = new Webhook(base64_secret);
wh.verify(webhook_payload, webhook_headers);- node
- yarn
yarn
yarn buildBefore opening a PR be sure to format your code!
yarn lint:fixSimply run:
yarn test