1.0.0 • Published 7 years ago

github-event-types v1.0.0

Weekly downloads
1
License
Unlicense
Repository
github
Last release
7 years ago

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.