standardwebhooks
Standard Webhooks for TypeScript
Last updated 3 months ago by GitHub Actions .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install standardwebhooks 
SYNC missed versions from official npm registry.

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
  • npm

Building the library

npm install
npm run build

Contributing

Before opening a PR be sure to format your code!

npm run check:fix

Running Tests

Simply run:

npm test

Current Tags

  • 1.1.1                                ...           latest (3 months ago)

3 Versions

  • 1.1.1                                ...           3 months ago
  • 1.1.0                                ...           3 months ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Total 8
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 3
Last Month 1
Dependencies (2)
Dev Dependencies (4)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE