Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 477 Bytes

File metadata and controls

21 lines (14 loc) · 477 Bytes

GitHub webhook payloads

The goal of this library is to help you when testing your GitHub webhooks by providing a sample per event type/payload.

Accesing samples

const webhook = require('github-webhook-payloads');
const issueUnassigned = webhook.events.issues.unassigned.payload;

// code here

or you can access directly by event type

const webhook = require('github-webhook-payloads');
const fork = webhook('fork');

// code here