calculate h-index, i10-index, and g-index of a given array.
$ npm install h-index
var hindex= require('h-index') console.log(hindex([1, 11, 4, 6, 9, 4, 15])) // { h: 4, i10: 2, g: 7, sum: 50}
MIT flowmemo