Gathering detailed insights and metrics for top-gh-contribs
Gathering detailed insights and metrics for top-gh-contribs
Gathering detailed insights and metrics for top-gh-contribs
Gathering detailed insights and metrics for top-gh-contribs
A simple tool for grabbing the top contributors for a repo from github, with some convenient options.
npm install top-gh-contribs
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
528,771
Last Day
447
Last Week
1,125
Last Month
5,034
Last Year
8,886
4 Stars
60 Commits
4 Forks
2 Watchers
1 Branches
5 Contributors
Updated on Jan 28, 2023
Minified
Minified + Gzipped
Latest Version
2.0.4
Package Id
top-gh-contribs@2.0.4
Size
12.32 kB
NPM Version
3.8.9
Node Version
4.4.4
Cumulative downloads
Total Downloads
Last Day
871.7%
447
Compared to previous day
Last Week
20.1%
1,125
Compared to previous week
Last Month
135.2%
5,034
Compared to previous month
Last Year
-10.6%
8,886
Compared to previous year
A simple tool for grabbing the top contributors for a repo from github, with some convenient options.
npm install top-gh-contribs
Returns a promise for an array of contributors with the following attributes
name
The contributor's github usernamegithubUrl
The contributors github profile urlavatarUrl
The contributor's github avatar image urlcommitCount
The number of commits the contributor has since the specified release1var topGithubContributors = require('top-gh-contribs'); 2 3var options = { 4 user: 'tryghost', 5 repo: 'ghost', 6 sinceDate: '2015-02-01', // All commits since 1st February 2015 7 count: 20 8}; 9 10topGithubContributors(options).then(function (contributors) { 11 /* Do stuff with contributors*/ 12});
user
requiredrepo
required
If you're looking for contributors to tryghost/ghost
, then your user
is "tryghost"
and repo
is "ghost"
.oauthKey
::
If a GitHub oauth key is provided it will be used when making requests against the API.sinceDate
::
A date, in ISO8601 format e.g 'YYYY-MM-DDTHH:MM:SSZ' or 'YYYY-MM-DD' format e.g. '2015-02-01' = 1st February 2015
If sinceDate
is not provided, all commits will be counted.
Note: you can install moment.js and then use:
var moment = require('moment');
sinceDate: moment().subtract(90, 'days').format('YYYY-MM-DDTHH:MM:SSZ') to get a formatted date including time
for past 90 dayscount
The number of contributors to return. If not specified, all contributors will be returned.retry
Default false
. If true
, the request will be retried in the event GitHub returns a status of 202
(retry momentarily).No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 5/26 approved changesets -- score normalized to 1
Reason
project is archived
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-04-28
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More