https://github.com/richardlitt/get-pr-creators
UNMAINTAINED Get a list of GitHub PR creators from an organization or repo
https://github.com/richardlitt/get-pr-creators
api cli cli-app contrib contribs contributors create creators github issue issues user users
Last synced: about 1 month ago
JSON representation
UNMAINTAINED Get a list of GitHub PR creators from an organization or repo
- Host: GitHub
- URL: https://github.com/richardlitt/get-pr-creators
- Owner: RichardLitt
- License: mit
- Created: 2016-03-05T01:26:01.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-10-16T20:23:06.000Z (over 8 years ago)
- Last Synced: 2025-03-05T07:32:51.749Z (over 1 year ago)
- Topics: api, cli, cli-app, contrib, contribs, contributors, create, creators, github, issue, issues, user, users
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Contributing: CONTRIBUTING.md
- License: license
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# get-github-pr-creators [](https://travis-ci.org/RichardLitt/get-github-pr-creators)
> Get a list of GitHub PR creators from an organization or repo
## Install
```
$ npm install --save get-github-pr-creators
```
## Usage
```js
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'
```
## API
### getGithubPRCreators(input, [options])
#### org
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.
#### options.since
Type: `string`
The ISO date from which to get PRS that have been made.
#### options.until
Type: `string`
The ISO date to which to get PRs that have been made.
#### options.repo
Type: `string`
A repo to search for PRs from.
## CLI
```
$ 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
```
## License
MIT © [Richard Littauer](http://burntfen.com)