webhooksha256
v1.0.1
Published
A expressjs middleware for handling Github webhook using X-Hub-Signature-256 header
Downloads
5
Readme
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!
});