ml-array-sum
TypeScript icon, indicating that this package has built-in type declarations

1.1.6 • Public • Published

array-sum

NPM version npm download

Get the sum of the values in an array.

Installation

$ npm install --save ml-array-sum

Usage

import sum from 'ml-array-sum';

const result = sum([1, 5, 3, 2, 4]);
// 15

License

MIT

/ml-array-sum/

    Package Sidebar

    Install

    npm i ml-array-sum

    Weekly Downloads

    543,768

    Version

    1.1.6

    License

    MIT

    Unpacked Size

    4.23 kB

    Total Files

    8

    Last publish

    Collaborators

    • lpatiny
    • mljs-bot
    • stropitek
    • targos