Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GitHub

Hierarchy

  • GitHub

Index

Constructors

Properties

Methods

Constructors

constructor

  • new GitHub(authToken?: string | undefined, requireAuth?: boolean, options?: GitHubAPI.Options): GitHub
  • Parameters

    • Default value authToken: string | undefined = undefined
    • Default value requireAuth: boolean = false
    • Default value options: GitHubAPI.Options = {}

    Returns GitHub

Properties

Optional token

token: undefined | string

Methods

getGitHub

  • getGitHub(): Octokit