# ml-array-min

> Get the minimum value in an array

Latest version **2.0.0** (published 2026-04-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install ml-array-min
pnpm add ml-array-min
yarn add ml-array-min
bun add ml-array-min
```

## Health

**Score 50/100 (C)** — status: active.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2026-04-14 |
| First published | 2017-05-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 1 |
| Unpacked size | 8.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 16 |
| Author | Michaël Zasso |
| Maintainers | stropitek, targos, lpatiny, mljs-bot |

## Links

- npm: https://www.npmjs.com/package/ml-array-min
- Repository: https://github.com/mljs/array
- Homepage: https://github.com/mljs/array/tree/master/packages/array-min#readme
- Issues: https://github.com/mljs/array/issues
- npm.io page: https://npm.io/package/ml-array-min

## Dependencies (1)

- [is-any-array](https://npm.io/package/is-any-array.md) ^3.0.0

## Recent versions

- 2.0.0 (latest) — 2026-04-14
- 1.2.3 — 2022-01-21
- 1.2.2 — 2021-03-24
- 1.2.1 — 2021-03-03
- 1.2.0 — 2020-10-07
- 1.1.2 — 2019-08-30
- 1.1.1 — 2018-11-09
- 1.1.0 — 2018-10-26
- 1.0.2 — 2018-08-03
- 1.0.1 — 2017-07-11
- 1.0.0 — 2017-05-23

## README

# array-min

[![NPM version][npm-image]][npm-url]
[![npm download][download-image]][download-url]

Get the minimum value in an array.

## Installation

`$ npm install --save ml-array-min`

## Usage

```js
import min from 'ml-array-min';

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

## License

[MIT](./LICENSE)

[npm-image]: https://img.shields.io/npm/v/ml-array-min.svg?style=flat-square
[npm-url]: https://npmjs.org/package/ml-array-min
[download-image]: https://img.shields.io/npm/dm/ml-array-min.svg?style=flat-square
[download-url]: https://npmjs.org/package/ml-array-min

---
_Source: https://npm.io/package/ml-array-min · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
