Skip to content

ZYSzys/github-personal-stars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-personal-stars

NPM version Travis CI codecov NPM downloads JavaScript Style Guide license

Count your personal repos' total stars.

Installation

Global

# Using npm
npm install -g github-personal-stars

# Using yarn
yarn global add github-personal-stars

Local

# Using npm
npm install --save github-personal-stars

# Using yarn
yarn add github-personal-stars

Usage

const countPersonalStars = require('.')

// use your username, 'ZYSzys' is mine
countPersonalStars('ZYSzys', (err, total) => {
  console.log(err || total)
});
// =>
// Just a number.

License

MIT.