array-min

Get the smallest value in an array of numbers

Usage no npm install needed!

<script type="module">
  import arrayMin from 'https://cdn.skypack.dev/array-min';
</script>

README

array-min Build Status

Get the smallest value in an array of numbers

Install

$ npm install --save array-min

Usage

var arrayMin = require('array-min');

arrayMin([5, 4, 3, 2, 1]);
// => 1

License

MIT © Andreas Gillström