# @mrblock7777/randomizer

> Generate random sequence from the list provided

Latest version **1.0.1** (published 2021-09-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @mrblock7777/randomizer
pnpm add @mrblock7777/randomizer
yarn add @mrblock7777/randomizer
bun add @mrblock7777/randomizer
```

Provides the command `randomizer`.

## 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.0.1 |
| Published | 2021-09-14 |
| First published | 2021-09-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 5.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mr Block |
| Maintainers | mrblock7777 |

## Links

- npm: https://www.npmjs.com/package/@mrblock7777/randomizer
- npm.io page: https://npm.io/package/@mrblock7777/randomizer

## Dependencies (4)

- [colors](https://npm.io/package/colors.md) ^1.4.0
- [prompt](https://npm.io/package/prompt.md) ^1.2.0
- [inquirer](https://npm.io/package/inquirer.md) ^8.1.2
- [commander](https://npm.io/package/commander.md) ^8.2.0

## Recent versions

- 1.0.1 (latest) — 2021-09-14

## README

# randomizer
Generate randomized list based on file input

You will need to have a file containing list.

Example:

### example.txt
```
Imaan Wilkinson
Lainey Devine
Ameerah Holloway
Justine Farmer
Roosevelt Rees
Elsa Cantrell
Erica Metcalfe
Huseyin Clegg
Selin Winter
Yolanda Mackenzie
```

### Command
```
randomizer -f ./example.txt -d \\n
```
Alternatively, you can simply run:

```
randomizer
```
And it will prompt two inputs for the same parameter. Currently, the delimiter in the prompt only supports line breaks(\n), commas(,), and whitespaces

# Command and Option details

### Available Options
```
-f, --filename <file> - Relative path to the file containing list
-d, --delimiter <delimiter> - The delimiter used to separate the list
```

### Available Commands
```
range <range>  - Generates random number between the range. Accepts the format of "n-n"
```
Example:
```
randomizer range 1-9
```

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