1.0.1 • Published 3 years ago

webhooksha256 v1.0.1

Weekly downloads
7
License
MIT
Repository
github
Last release
3 years ago

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

3 years ago

1.0.0

3 years ago