# rnumjs

> A light-weight module which generates random numbers.

Latest version **1.0.1** (published 2021-05-25) · ISC license · 0 weekly downloads

## Install

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

## 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-05-25 |
| First published | 2021-05-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sezer Gümüş |
| Maintainers | sezergumus |
| Keywords | random, number, int, float, generator |

## Links

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

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2021-05-25

## README

# What is this?

This is a light-weight module which you can generate random numbers easily.

# Installation

```
npm i rnumjs --save
// or
yarn add rnumjs
```

## Usage

```
const rnumjs = require('rnumjs')
// or
import { randomNumber } from 'rnumjs'

rnumjs.randomNumber(min, max, dec)
```

* min [number][1] Lower bound (optional, default `0`)
* max [number][1] Higher bound (optional, default `10`)
* dec [number][1] Rounds number to decimals (optional, default `0`)


[1]:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number

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