standardwebhooks
v1.0.0 webhooks typescript
Typescript/Javascript library for Standard Webhooks
Example
Verifying a webhook payload:
import { Webhook } from "standardwebhooks"
const wh = new Webhook(base64_secret);
wh.verify(webhook_payload, webhook_headers);
Development
Requirements
- node
- yarn
Building the library
yarn
yarn build
Contributing
Before opening a PR be sure to format your code!
yarn lint:fix
Running Tests
Simply run:
yarn test
npm i standardwebhooks
Metadata
- MIT
- Whatever
- Standard Webhooks
- released 3/4/2024