# ml-random

> Choose randomly from a selection of elements

Latest version **2.0.0** (published 2024-10-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install ml-random
pnpm add ml-random
yarn add ml-random
bun add ml-random
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2024-10-18 |
| First published | 2018-05-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 41.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Daniel Kostro |
| Maintainers | stropitek, targos, lpatiny, mljs-bot |

## Links

- npm: https://www.npmjs.com/package/ml-random
- Repository: https://github.com/mljs/random
- Homepage: https://github.com/mljs/random#readme
- Issues: https://github.com/mljs/random/issues
- npm.io page: https://npm.io/package/ml-random

## Dependencies (1)

- [ml-xsadd](https://npm.io/package/ml-xsadd.md) ^3.0.1

## Recent versions

- 2.0.0 (latest) — 2024-10-18
- 1.0.1 — 2023-05-16
- 1.0.0 — 2023-05-16
- 0.5.0 — 2018-08-11
- 0.4.1 — 2018-05-23
- 0.4.0 — 2018-05-23
- 0.3.0 — 2018-05-23
- 0.2.0 — 2018-05-16
- 0.1.0 — 2018-05-16

## README

# ml-random

[![NPM version][npm-image]][npm-url]
[![build status][ci-image]][ci-url]
[![Test coverage][codecov-image]][codecov-url]
[![npm download][download-image]][download-url]

Randomness utilities from a selection of elements.

## Installation

`$ npm install ml-random`

## Usage

```js
const { Random } = require('ml-random');
```

## [API Documentation](https://mljs.github.io/random/)

## License

[MIT](./LICENSE)

[npm-image]: https://img.shields.io/npm/v/ml-random.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/ml-random
[ci-image]: https://github.com/mljs/random/workflows/Node.js%20CI/badge.svg?branch=main
[ci-url]: https://github.com/mljs/random/actions?query=workflow%3A%22Node.js+CI%22
[codecov-image]: https://img.shields.io/codecov/c/github/mljs/random.svg?style=flat-square
[codecov-url]: https://codecov.io/gh/mljs/random
[download-image]: https://img.shields.io/npm/dm/ml-random.svg?style=flat-square
[download-url]: https://www.npmjs.com/package/ml-random

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