# h-index

> calculate h-index, i10-index, and g-index of a given array

Latest version **1.1.0** (published 2016-08-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install h-index
pnpm add h-index
yarn add h-index
bun add h-index
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2016-08-06 |
| First published | 2016-08-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | flowmemo |
| Maintainers | flowmemo |

## Links

- npm: https://www.npmjs.com/package/h-index
- Repository: https://github.com/flowmemo/h-index
- Homepage: https://github.com/flowmemo/h-index#readme
- Issues: https://github.com/flowmemo/h-index/issues
- npm.io page: https://npm.io/package/h-index

## Recent versions

- 1.1.0 (latest) — 2016-08-06
- 1.0.0 — 2016-08-04

## README

# h-index
calculate h-index, i10-index, and g-index of a given array.

[![Travis branch](https://img.shields.io/travis/flowmemo/h-index/master.svg?style=flat-square)](https://travis-ci.org/flowmemo/h-index)
[![npm](https://img.shields.io/npm/v/h-index.svg?style=flat-square)](https://www.npmjs.com/package/h-index)

## Usage
`$ npm install h-index`

```js
var hindex= require('h-index')
console.log(hindex([1, 11, 4, 6, 9, 4, 15]))
// { h: 4, i10: 2, g: 7, sum: 50}
```

## License
MIT © [flowmemo](http://weibo.com/flowmemo)

---
_Source: https://npm.io/package/h-index · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
