Socket
Socket
Sign inDemoInstall

ml-array-sum

Package Overview
Dependencies
1
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ml-array-sum

Get the average value in an array


Version published
Maintainers
4
Install size
13.2 kB
Created

Readme

Source

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

FAQs

Last updated on 21 Jan 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc