github-webhook-payloads

1.0.2 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i github-webhook-payloads

      Weekly Downloads

      0

      Version

      1.0.2

      License

      MIT

      Last publish

      Collaborators

      • jcenturion