An open API service indexing awesome lists of open source software.

https://github.com/akgondber/get-repo-stargazers-count

Extract stargazers count for specified repository
https://github.com/akgondber/get-repo-stargazers-count

npm package stargazers-count

Last synced: 4 months ago
JSON representation

Extract stargazers count for specified repository

Awesome Lists containing this project

README

        

## get-repo-stargazers-count
![get-repo-stargazers-count.svg](https://travis-ci.org/akgondber/get-repo-stargazers-count.svg?branch=master)

Extract stargazers count for specified repository written in javascript.

---

### Install

```
$ npm install --save-dev get-repo-stargazers-count
```

### Usage
```js
const repoStarsCount = require('get-repo-stargazers-count');

repoStarsCount.forGithub('gulp')
.then(result => {
// do something with result
})
.catch(err => {
// handle error
})
```

### License

MIT