everything-random
v1.0.3
Published
A lightweight package to make your life so much easier
Downloads
18
Maintainers
Readme
Everything-Random
A lightweight package to make getting random numbers and objects so much easier
Installation
Using npm:
$ npm i everything-random
In Node.JS:
const er = require('everything-random');
const array = ["Hi", "Hello", "Car", "Food"];
er.randomNumber(1, 10, true);
er.randomArrayObject(array)
Usage:
er.randomNumber(min : Number, max : Number, round : Boolean)