Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/makotot/sum-numerical-values

The sum of the numerical values from an object.
https://github.com/makotot/sum-numerical-values

Last synced: 28 days ago
JSON representation

The sum of the numerical values from an object.

Awesome Lists containing this project

README

        

# sum-numerical-values

> The sum of the numerical values from an object.

[![npm version](http://img.shields.io/npm/v/@makotot/sum-numerical-values.svg?style=flat-square)](https://www.npmjs.com/package/@makotot/sum-numerical-values)
[![dependencies](http://img.shields.io/david/makotot/sum-numerical-values.svg?style=flat-square)](https://github.com/makotot/sum-numerical-values)
[![devDependencies](http://img.shields.io/david/dev/makotot/sum-numerical-values.svg?style=flat-square)](https://github.com/makotot/sum-numerical-values)

## Install

```sh
$ npm i @makotot/sum-numerical-values
```

## Usage

```js
const sumValues = require('@makotot/sum-numerical-values')

const total = sumValues({
a: 1,
b: 10
})

console.log(total)// return 11
```

## License

MIT