repohelper

1.0.3 • Public • Published

Repo Helper

Node module to help with the handling of github repo information

IMPORTANT! Requires Node.js 4.2.1 or higher

Usage

const repoHelper = require('repoHelper');
return repoHelper.createGithubAuthentication('Demands', 'token', ['repo'])
  .then((credentials) => {
    const limit = 0;
    const debug = false;
    return repoHelper.getRepos(credentials, limit, debug)
      .then((repos) => {
        return Promise.all(repos.map((repo) => {
          return repoHelper.getOpenPRs(credentials, repo, debug);
        }))
      });
  });

Package Sidebar

Install

npm i repohelper

Weekly Downloads

2

Version

1.0.3

License

MIT

Last publish

Collaborators

  • craiglonsdale