generate a (pseudo-)random ROMAN number
This package internally uses Math.random() to generate pseudo-random number (PRNG) and a custom algorithm to convert it to a Roman number.
Its just a result of being bored in office.
- Generate a random roman number without any range
- Generate a random roman number within a range :p
- Too lazy to add a new feature
$ npm i random-roman
const randRoman = require('randomRoman');
Methods
- Without range randRoman();
- With range randRoman(minNumber, maxNumber);
//without range
console.log(randRoman());
//with min max range
console.log(randRoman(55,999))
const randRoman = require('randomRoman');
console.log(randRoman());
console.log(randRoman(55,999))
- Shashank
This project is not yet licensed.