Skip to content

Node module to help with the handling of github repo information

License

Notifications You must be signed in to change notification settings

craiglonsdale/repohelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Node module to help with the handling of github repo information

Resources

License

Stars

Watchers

Forks

Packages

No packages published