Typedef
Static Public
public Stats: Object source
Properties:
Name | Type | Attribute | Description |
contributions | Array<{date: string, count: number}>{date:> | List of contributions |
|
currentStreak | CurrentStreak | Current streak |
|
longestStreak | LongestStreak | Longest streak |
|
summary | Object |
|
Summary of contributions |
summary.start | string | Start date of contributions |
|
summary.end | string | End date of contributions |
|
summary.total | string | Total contributions |
|
summary.busiestDay | {date: string, count: number} |
|
Busiest day of contributions |
Example:
{
contributions: [
{date: '2015-01-23', count: 0},
...
],
calendar: '<svg>....</svg>'
currentStreak: {days: 0, end: null, start: null, unmeasurable: false},
longestStreak: {days: 5, end: '2016-01-12', start: '2016-01-16', unmeasurable: false},
summary: {
busiestDay: {date: '2015-11-02', count: 34},
end: '2016-01-23',
start: '2015-01-23',
total: 1271
}
}