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!
});

Readme

Keywords

Package Sidebar

Install

npm i webhooksha256

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

2.59 kB

Total Files

4

Last publish

Collaborators

  • tangshiqiang