# e-generate-random

> random number generator with different types of limit and more advantages

Latest version **1.0.1** (published 2023-10-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install e-generate-random
pnpm add e-generate-random
yarn add e-generate-random
bun add e-generate-random
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2023-10-17 |
| First published | 2023-10-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Mainur Rahman |
| Maintainers | imenan |
| Keywords | random, random, number, generator, generate, random |

## Links

- npm: https://www.npmjs.com/package/e-generate-random
- Repository: https://github.com/MRIEnan/randomNumberGenerator
- Homepage: https://github.com/MRIEnan/randomNumberGenerator#readme
- Issues: https://github.com/MRIEnan/randomNumberGenerator/issues
- npm.io page: https://npm.io/package/e-generate-random

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2023-10-17

## README

# Random-Number-Generator NPM Package

## Overview

This npm package provides a simple and easy-to-use JavaScript function to generate random numbers within a specified range. You can set both the start and end boundaries for the range within which you want to generate random numbers. This package is suitable for a wide range of use cases where random numbers are needed.

## Installation

To use this package, you can install it via npm:

```bash
npm install e-generate-random
```

## Usage

You can use this package by requiring it in your JavaScript/Node.js code. Here's a basic example of how to generate a random number using this package:

```javaScript

const generateRandomNumber = require("e-generate-random");

const randomNum = generateRandomNumber();
console.log(randomNum); // Output: A random number between 1 and 100
```

You can also specify custom start and end boundaries:

```javaScript
const generateRandomNumber = require("e-generate-random");

const randomNum = generateRandomNumber(10, 20); // Generates a random number between 10 and 20
console.log(randomNum);
```

## Function Signature

```javaScript
generateRandomNumber(end = 100, start = 1)

• end (optional): The upper boundary of the range (default is 100).
• start (optional): The lower boundary of the range (default is 1).
```

## Return Value

The function returns a randomly generated integer within the specified range.

## License

This package is distributed under the MIT License. You are free to use it in your projects, both open-source and commercial. Please check the LICENSE file for more information.

## Contribution

<p>
If you encounter any issues, have suggestions, or want to contribute to the package's development, please visit the <a href="https://github.com/MRIEnan/randomNumberGenerator" target="_blank" style="color:white;font-weight:700">Github</a>  repository.
</p>

Author
This package was created by IMENAN.

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