Network Processor Module

github-all-repos

0.1.0 • Public • Published

Build Status

github-all-repos

Because fetching all repos for a Github user is a pain

Usage

With a nodeback

var getAllRepos = require('github-all-repos');
 
getAllRepos(GITHUB_ACCESS_TOKEN, function(err, repos){
  // check for and handle error
 
  // do something with repos
});

As a promise

var getAllRepos = require('github-all-repos');
 
getAllRepos(GITHUB_ACCESS_TOKEN)
  .then(function(repos){
    // do something with repos
  }, function(err){
    // handle error
  });

Keywords

none

install

npm i github-all-repos

Downloadsweekly downloads

1

version

0.1.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability