# another-random-package

> A nice addition to the built in javascript random functions

Latest version **1.0.2** (published 2020-08-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install another-random-package
pnpm add another-random-package
yarn add another-random-package
bun add another-random-package
```

## 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.2 |
| Published | 2020-08-28 |
| First published | 2020-08-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Michael Walker |
| Maintainers | miaklwalker |
| Keywords | random, javascript, miaklwalker, id, maker, generator |

## Links

- npm: https://www.npmjs.com/package/another-random-package
- npm.io page: https://npm.io/package/another-random-package

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2020-08-28
- 1.0.1 — 2020-08-28
- 1.0.0 — 2020-08-27

## README

# another-random-package

## A nice addition to the built-in Javascript Math.random()

This package is a few of my most commonly used random functions.

* Generate a Random Number between a range 
    `.RandomBetween(#Min, #Max);`
* Generate a Random String
    `.randomStringAlphanumeric(#length)`

----------

## Methods

* chooseChar
  * Returns a utf-8 character from a character code
  
* ChooseNum
  * The internal method for choosing a number in a range accepts input in the form of a object that has a min, max property
  
* generate
  * The Generate method is the internal method for generating all strings output by the object.
  
* RandomBetween

* randomStringAlphaNumeric
  * Returns a string of specified length containing:[UpperCase, LowerCase, Numeric] Characters
  
* randomStringAlphaNumericLower
  * Returns a string of specified length containing:[LowerCase, Numeric] Characters
  
* randomStringLowerCase
  * Returns a string of specified length containing:[ LowerCase ] Characters
  
* randomStringUpperCase
  * Returns a string of specified length containing:[UpperCase] Characters
  
* randomStringMixedCase
  * Returns a string of specified length containing:[UpperCase, LowerCase] Characters
  
* randomStringNumeric
  * Returns a string of specified length containing:[Numeric] Characters

----------

## Usage

This can be pretty easily used in most projects.
For Example:

```javascript
const Random = require("another-random-package");

let enemy = {
    name:"moblin",
    id:Random.randomStringAlphaNumeric(22),
}

```

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