Socket
Socket
Sign inDemoInstall

ml-array-max

Package Overview
Dependencies
1
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ml-array-max

Get the maximum value in an array


Version published
Weekly downloads
208K
decreased by-0.76%
Maintainers
4
Install size
16.8 kB
Created
Weekly downloads
 

Readme

Source

array-max

NPM version npm download

Get the maximum value in an array.

Installation

$ npm install --save ml-array-max

Usage

import max from 'ml-array-max';

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

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