GitHub Apps
NodeJS module for building GitHub Apps.
Installation
npm install --save github-app
Usage
const createApp = ; const app = ;
asInstallation
Authenticate as an installation, returning a github API client, which can be used to call any of the APIs supported by GitHub Apps:
//Modify value according to getInstallations return(example in asApp section)var installationId = 99999; app;
asApp
Authenticate as an app, also returning an instance of the GitHub API client.
app;