github-event-types

All Event types of the Github API


Keywords
json, data, github, api, list, array, name, type, event
License
Unlicense
Install
bower install github-event-types

Documentation

github-event-types

NPM version Bower version Build Status devDependencies Status

All Event types of the Github API

[
  'CommitCommentEvent',
  'CreateEvent',
  'DeleteEvent',
  'DeploymentEvent',
  'DeploymentStatusEvent',
  'DownloadEvent',
  'FollowEvent',
  'ForkEvent',
  // ...
  'WatchEvent'
]

Installation

Package managers

npm

npm install github-event-types

Yarn

yarn add github-event-types

Bower

bower install github-event-types

Standalone

Download the JSON file directly.

API

import githubEventTypes from 'github-event-types';

githubEventTypes

Type: Array of String

githubEventTypes.includes('PushEvent'); //=> true
githubEventTypes.includes('foo'); //=> false

License

The Unlicense.