# @lucadv/pickme

> A library to randomly pick up an element from a list passed by the user

Latest version **1.1.0** (published 2018-09-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install @lucadv/pickme
pnpm add @lucadv/pickme
yarn add @lucadv/pickme
bun add @lucadv/pickme
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2018-09-03 |
| First published | 2018-09-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | 8.10.x |
| Dependencies | 0 |
| Unpacked size | 6.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Luca Di Vincenzo |
| Maintainers | lucadv |
| Keywords | random, picker, pick |

## Links

- npm: https://www.npmjs.com/package/@lucadv/pickme
- Repository: https://github.com/lucadv/pickme
- Homepage: https://github.com/lucadv/pickme#readme
- Issues: https://github.com/lucadv/pickme/issues
- npm.io page: https://npm.io/package/@lucadv/pickme

## Recent versions

- 1.1.0 (latest) — 2018-09-03
- 1.0.0 — 2018-09-01

## README

# Overview

A module that, given a list of elements, randomly pick up one and return it. The list must contain elements of type number, string or boolean. It can contain duplicated elements and elements of different types.

## Usage

```javascript
const Pickme = require('@lucadv/pickme');
const picked = new Pickme(['a', 'b', 'c']).pickOne(); // will be one of a, b or c
```

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