rnumjs

1.0.1 • Public • Published

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 Lower bound (optional, default 0)
  • max number Higher bound (optional, default 10)
  • dec number Rounds number to decimals (optional, default 0)

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i rnumjs

      Weekly Downloads

      0

      Version

      1.0.1

      License

      ISC

      Unpacked Size

      1.47 kB

      Total Files

      3

      Last publish

      Collaborators

      • sezergumus