1.0.1 • Published 8 years ago
get-all-github-repos v1.0.1
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.
license
1.0.1
8 years ago