1.0.3 • Published 10 years ago

repohelper v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

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);
        }))
      });
  });