JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 415971
  • Score
    100M100P100Q183379F
  • License MIT

Get the maximum value in an array

Package Exports

  • ml-array-max
  • ml-array-max/lib-es6/index.js
  • ml-array-max/lib/index
  • ml-array-max/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ml-array-max) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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