npm.io
2.0.0 • Published 3 months ago

ml-array-max

Licence
MIT
Version
2.0.0
Deps
1
Size
9 kB
Vulns
0
Weekly
0
Stars
16

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