# a-average

> Returns average of numbers in an array

Latest version **1.0.0** (published 2016-02-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install a-average
pnpm add a-average
yarn add a-average
bun add a-average
```

## 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.0.0 |
| Published | 2016-02-21 |
| First published | 2016-02-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | vikramcse |
| Keywords | array, average |

## Links

- npm: https://www.npmjs.com/package/a-average
- Repository: https://github.com/vikramcse/a-average
- Homepage: https://github.com/vikramcse/a-average#readme
- Issues: https://github.com/vikramcse/a-average/issues
- npm.io page: https://npm.io/package/a-average

## Recent versions

- 1.0.0 (latest) — 2016-02-21

## README

# a-average
Returns average of numbers in an array

# Install
```sh
$ npm install --save a-avarage
```

## Examples

```js
var avg = require('a-avarage');

console.log(avg([1, 2, 3, 4, 5]));
// -> 3

console.log(avg([1, 2, 3, 4]));
// -> 2.5

```

## Usage

#### `require('a-avarage')( array )`

**Arguments**:
- `array`: array of Numbers

**Returns**: Returns average of numbers in an array

## License
&copy; 2016 vikram. MIT License

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