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

1.2.4 • Public • Published

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

/ml-array-max/

    Package Sidebar

    Install

    npm i ml-array-max

    Weekly Downloads

    171,498

    Version

    1.2.4

    License

    MIT

    Unpacked Size

    7.9 kB

    Total Files

    8

    Last publish

    Collaborators

    • lpatiny
    • mljs-bot
    • stropitek
    • targos