Class: Data

Data(url, options)

The Data class is used as the central point where all raw data is fetched from. It holds a client connection to the GitHub project and a cloned instance of the Git repository.

Constructor

new Data(url, options)

Construct a Data object, create a clone from the Git repository asynchronously, and initialize GitHub API client
Parameters:
Name Type Description
url string GitHub project URL
options object Configuration arguments
Properties
Name Type Description
auth_token string The GitHub authentication token
noClone boolean Flag on whether to clone the Git project or not
Source: