randomit
A small javascript library to generate random numbers in various situations along with other pieces of data which needs to be randomized.
Installation
npm install randomit
or
Usage
var randomit = ; randomit; // number between 1 to 10randomit; // number between 1 to 10randomit; // number between 1 to 10randomit; // array with 3 numbers between 1 to 10 randomit; // number with two digitsrandomit; // array with 3 two-digit numbers randomit; // one of those fibonacci numbersrandomit; // one of those greetingsrandomit; // array with three of those numbers
License
Licensed under MIT.