webhooksha256

1.0.1 • Public • Published

github-webhook-sha256

A expressjs middleware for handling Github webhook using X-Hub-Signature-256 header.

Install

yarn add webhooksha256

Usage

const webhooksha256 = require('webhooksha256');
const key = 'YOUR KEY';

app.get('/deploy', webhooksha256(key), (req, res) => {
    // you will be here if the verifying is OK!
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i webhooksha256

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

2.59 kB

Total Files

4

Last publish

Collaborators

  • tangshiqiang