eeshan-github-getrepos

Get a list of user repositories from Github

npm install eeshan-github-getrepos
2 downloads in the last week
8 downloads in the last month

This module can be used to get the list of user repositories from Github.

Example

github.getRepos('eeshan89', function(repos) { console.log('Eeshan Srivastava has ' + repos.length + ' repos'); //getRepoInfo(repos); })

function getRepoInfo(repos) { repos.forEach(function(repo) { console.log('Name: ' + repo.name); console.log('Description: ' + repo.description); console.log('ID: ' + repo.id); console.log('Watchers: ' + repo.watchers); }); }

npm loves you