get-github-repos

0.0.4 • Public • Published

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.");
});

Readme

Keywords

Package Sidebar

Install

npm i get-github-repos

Weekly Downloads

0

Version

0.0.4

License

ISC

Last publish

Collaborators

  • emma-andersson