Get a list of all Github repos for a username.
The normal npm way:
npm install get-all-github-repos
Just pass in the username:
var getAllRepos = require('get-all-github-repos')
getAllRepos('saibotsivad', function(err, repos) {
if (err) {
console.log(err)
} else {
console.log(repos)
}
})
The username to grab the repos from.
A traditional error-first callback function.