get-all-github-repos
v1.0.1
Published
Get a list of all Github repos for a username.
Downloads
3
Maintainers
Readme
get-all-github-repos
Get a list of all Github repos for a username.
install
The normal npm way:
npm install get-all-github-repos
use it
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)
}
})
api: getAllRepos(username, callback)
username
The username to grab the repos from.
callback
A traditional error-first callback function.