JSPM

get-github-pr-creators

0.0.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 31
  • Score
    100M100P100Q40283F
  • License MIT

Get a list of GitHub PR creators from an organization or repo

Package Exports

  • get-github-pr-creators

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 (get-github-pr-creators) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

get-github-pr-creators Build Status

Get a list of GitHub PR creators from an organization or repo

Install

$ npm install --save get-github-pr-creators

Usage

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