philips_supernote-obsidian-.../node_modules/ml-array-min
Brandon Philips 2518e666d2 node_modules: initial import
Since there is no native code I am just checking all of the dependencies
in to simplify life and avoid a hard dependency on npm working on any
given day.
2024-04-05 23:08:52 -07:00
..
lib node_modules: initial import 2024-04-05 23:08:52 -07:00
lib-es6 node_modules: initial import 2024-04-05 23:08:52 -07:00
src node_modules: initial import 2024-04-05 23:08:52 -07:00
LICENSE node_modules: initial import 2024-04-05 23:08:52 -07:00
package.json node_modules: initial import 2024-04-05 23:08:52 -07:00
README.md node_modules: initial import 2024-04-05 23:08:52 -07:00
types.d.ts node_modules: initial import 2024-04-05 23:08:52 -07:00

array-min

NPM version npm download

Get the minimum value in an array.

Installation

$ npm install --save ml-array-min

Usage

import min from 'ml-array-min';

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

License

MIT