Skip to content

Latest commit

 

History

6 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

仓库 files navigation

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);

关于

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

Resources

Stars

52 stars

关注者

1 watching

复刻s

发布

Used by

贡献者

Languages