npm.io
1.0.0 • Published 6 years ago

totalled

Licence
MIT
Version
1.0.0
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
1

totalled Travis CI Build Status

Get the sum of all the values in an array.

NPM Badge

Install

npm install totalled

Usage

const totalled = require("totalled");

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

API

totalled(array)
array

Type: array<number>

The array to sum.

Keywords