# anyrandom

> a npm package to generate anything random.

Latest version **1.2.1** (published 2021-12-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install anyrandom
pnpm add anyrandom
yarn add anyrandom
bun add anyrandom
```

## 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.2.1 |
| Published | 2021-12-09 |
| First published | 2021-10-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | dxkyy |
| Maintainers | dxkyy |
| Keywords | random |

## Links

- npm: https://www.npmjs.com/package/anyrandom
- Repository: https://github.com/dxkyy/anyrandom
- Homepage: https://github.com/dxkyy/anyrandom#readme
- Issues: https://github.com/dxkyy/anyrandom/issues
- npm.io page: https://npm.io/package/anyrandom

## Recent versions

- 1.2.1 (latest) — 2021-12-09
- 1.2.0 — 2021-10-29

## README

# anyrandom

anyrandom is a npm package to generate anything random.

![ar](https://github.com/dxkyy/anyrandom/raw/main/anyrandom.png)

## Install the package 📥

`npm install anyrandom`

## Functions📚

### Random Number 🔢

```javascript
const { number } = require("anyrandom");

console.log(number(41)); // 41 being the max number
```

### Random Letter🔡

```javascript
const { letter } = require("anyrandom");

console.log(letter());
```

### Random Character🔠

```javascript
const { character } = require("anyrandom");

console.log(character());
```

### Random String🧵

```javascript
const { string } = require("anyrandom");

console.log(string(41)); // 41 being the length of the string
```

### Shuffle String🔀

```javascript
const { shuffleString } = require("anyrandom");

console.log(shuffleString("Hello World"));
```

### Random Character from String🔍

```javascript
const { randomFrom } = require("anyrandom");

console.log(randomFrom("Hello World"));
```

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