You can see below the API reference of this module.
Creates a new GitHubStats instance.
- Object
options: An object containing the following fields: repo(String): The GitHub repository. It can be the- ` (String): The GitHub repository.
theme(null|String|Object): The theme to use ("LIGHT","DARK"). Ifnull, no ansi styles will be used. If object, then it should met thegit-stats-colorsspecifications.
- GitHubStats The
GitHubStatsinstance.
Fetches user stats.
- Function
callback: The callback function.
- GitHubStats The
GitHubStatsinstance.
Fetches repository stats.
- Function
callback: The callback function.
- GitHubStats The
GitHubStatsinstance.
Fetches user calendar statistics in JSON format.
- Function
callback: The callback function.
- GitHubStats The
GitHubStatsinstance.
Stringifies the statistics.
- Function
callback: The callback function.