Installations
npm install top-gh-contribs
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
4.4.4
NPM Version
3.8.9
Score
58.1
Supply Chain
79.4
Quality
76.2
Maintenance
50
Vulnerability
97.3
License
Releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
novaugust
Download Statistics
Total Downloads
521,103
Last Day
2
Last Week
31
Last Month
156
Last Year
2,417
GitHub Statistics
4 Stars
60 Commits
4 Forks
3 Watching
1 Branches
5 Contributors
Package Meta Information
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
Total Downloads
Cumulative downloads
Total Downloads
521,103
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
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
top-gh-contribs
A simple tool for grabbing the top contributors for a repo from github, with some convenient options.
Usage
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 release
1var 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});
Options
user
requiredrepo
required If you're looking for contributors totryghost/ghost
, then youruser
is"tryghost"
andrepo
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 IfsinceDate
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
Defaultfalse
. Iftrue
, 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
- Warn: Repository is archived.
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 14 are checked with a SAST tool
Score
2.7
/10
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