standardwebhooks
Standard Webhooks for TypeScript
Last updated 3 years ago by tasn .
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 9
Today 1
This Week 1
This Month 5
Last Day 0
Last Week 3
Last Month 1
Dependencies (2)
Dev Dependencies (10)
Dependents (1)

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