Get a list of GitHub PR creators from an organization or repo
$ npm install --save get-github-pr-creators
const getGithubPRCreators = require('get-github-pr-creators');
getGithubPRCreators('RichardLitt', {
since: '2016-01-15T00:20:24Z',
until: '2016-01-20T00:20:24Z',
repo: 'get-github-pr-creators'
});
//=> 'RichardLitt'
Type: string
The organization or user to scour for pull requests. If not set, it will grab the user and repository of the current git directory, and use that user and that repository as options.
Type: string
The ISO date from which to get PRS that have been made.
Type: string
The ISO date to which to get PRs that have been made.
Type: string
A repo to search for PRs from.
$ npm install --global get-github-pr-creators
$ get-github-pr-creators --help
Usage
$ get-github-pr-creators [input]
Options
-r, --repo Only for a specific repo. [Default: false]
-s, --since Only since a specific time. [Default: false]
-u, --until Only to a specific time. [Default: false]
Examples
$ get-github-pr-creators
RichardLitt
$ get-github-pr-creators RichardLitt --repo=get-github-pr-creators --since=2016-01-15T00:01:01Z --until=2016-01-20T00:01:05Z
RichardLitt
MIT © Richard Littauer