Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/makotot/sum-numerical-values
- Owner: makotot
- Created: 2016-01-29T06:15:25.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-03T08:15:57.000Z (almost 9 years ago)
- Last Synced: 2024-10-10T19:01:41.820Z (about 1 month ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@makotot/sum-numerical-values
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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