1.1.0 • Published 6 years ago

@elesneils/random-between v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Random Between

What is Random Between?

Random Between is a module that allows beginners to get random numbers between 2 values you can use it in pretty much everything, just don't try to push the limits by using decimals.

Advantages:

  • Easy to use

Disadvantages:

Nothing here ¯\_(ツ)_/¯

Example:

// Import the module
const rb = require('random-between');
// Use the thing lol
console.log(rb(1, 9, options));

Test:

$ npm test

How to use

Things you need to know before using:

  • min: the minimum value
  • max: the maximum value
  • options: pretty self explanatory, the only option is decimals, it's a bool
const rb = require('random-between');
 rb(min, max)
1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago