# totalled

> Get the sum of all the values in an array.

Latest version **1.0.0** (published 2020-04-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install totalled
pnpm add totalled
yarn add totalled
bun add totalled
```

## 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 | 2020-04-13 |
| First published | 2020-04-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 0 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Richie Bendall |
| Maintainers | richienb |
| Keywords | math, array, sum, value, total, add |

## Links

- npm: https://www.npmjs.com/package/totalled
- Repository: https://github.com/Richienb/totalled
- Homepage: https://github.com/Richienb/totalled#readme
- Issues: https://github.com/Richienb/totalled/issues
- npm.io page: https://npm.io/package/totalled

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2020-04-13

## README

# totalled [![Travis CI Build Status](https://img.shields.io/travis/com/Richienb/totalled/master.svg?style=for-the-badge)](https://travis-ci.com/Richienb/totalled)

Get the sum of all the values in an array.

[![NPM Badge](https://nodei.co/npm/totalled.png)](https://npmjs.com/package/totalled)

## Install

```sh
npm install totalled
```

## Usage

```js
const totalled = require("totalled");

totalled([1, 2, 3]);
//=> 6
```

## API

### totalled(array)

#### array

Type: `array<number>`

The array to sum.

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