Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

Github Stars

Returns a count of stars for any user or a single repo

Asynchronous

//user or org
githubStars("stretchr", function(stars) {
	console.log("Stars: " + stars);
});

//individual repo
githubStars("stretchr/sdk-js", function(stars) {
	console.log("Stars for SDK-JS: " + stars);
});

Synchronous

You can also perform requests synchronously if you'd prefer

var stars = githubStars("stretchr");
console.log("Stars: " + stars);

About

Returns the aggregate number of stars for a user/org or single repo

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.