File: //opt/LibreChat/node_modules/ml-array-sum/README.md
# array-sum
[![NPM version][npm-image]][npm-url]
[![npm download][download-image]][download-url]
Get the sum of the values in an array.
## Installation
`$ npm install --save ml-array-sum`
## Usage
```js
import sum from 'ml-array-sum';
const result = sum([1, 5, 3, 2, 4]);
// 15
```
## License
[MIT](./LICENSE)
[npm-image]: https://img.shields.io/npm/v/ml-array-sum.svg?style=flat-square
[npm-url]: https://npmjs.org/package/ml-array-sum
[download-image]: https://img.shields.io/npm/dm/ml-array-sum.svg?style=flat-square
[download-url]: https://npmjs.org/package/ml-array-sum