calculate the h-index, i10-index, and g-index according to github repos' stars of user
$ npm install github-index
var ghindex = require('.')
// this function return a promise
ghindex('tj').then(res => console.log(res))
// { sum: 65560, h: 83, i10: 168, repoCount: 241 }
It use github api v3. The rate limit is 60 requests per hour for unauthenticated requests. See https://developer.github.com/v3/#rate-limiting for details.
Don't take the result too seriously :)
MIT © flowmemo