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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i github-webhook-payloads

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • jcenturion