get-github-repos

Get github user repos

Usage no npm install needed!

<script type="module">
  import getGithubRepos from 'https://cdn.skypack.dev/get-github-repos';
</script>

README

This include the getRepos function. It has two parameters, username and callback.

Example:

github.getRepos("JeffreyWay", function(repos){
    repos.forEach(function(repo, i){
        console.log("Repo number "+i+" is called " + repo.name + ", it is a: " + repo.description);
    });
    console.log("There are " + repos.length + " in total.");
});