Package Exports
- gh-contrib-list
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gh-contrib-list) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gh-contrib-list
A tool to generate a list of contributors from a specific range of commits
Usage:
npm install gh-contrib-listIn code:
var ghContribList = require('gh-contrib-list');
ghContribList(options);Returns a Promise with an array of contributors. Each contributor has the following properties:
id- Github username of the contributorname- Full name of the contributorcommitCount- Number of commits the person has contributed
Options
user- The user or organization (required)repo- The repository name (required)commit- A commit SHA to run the query from (commits including and after this one will be used) (required)oauthKey- If one is provided it will be used when making Github API requeststo- If another commit SHA is provided here the commits used will be between thecommitoption and this one.removeGreenkeeper- If this is set to true, any commits by Greenkeeper will be automatically removed.retry- If this is set to true, the request will be retried in the event that the Github API returns a 202 status (retry momentarily).
Credit:
This script is heavily based on top-gh-contribs.