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
npm install top-gh-contribs
Typescript
Module System
Node Version
NPM Version
58.1
Supply Chain
79.4
Quality
76.2
Maintenance
50
Vulnerability
97.3
License
JavaScript (100%)
Total Downloads
521,103
Last Day
2
Last Week
31
Last Month
156
Last Year
2,417
4 Stars
60 Commits
4 Forks
3 Watching
1 Branches
5 Contributors
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
-87.5%
2
Compared to previous day
Last week
-26.2%
31
Compared to previous week
Last month
-28.1%
156
Compared to previous month
Last year
-95.4%
2,417
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 2024-12-16
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