A package that helps you with everything related to randomness 🔄
You can install all-random with npm by running:
| Method |
args |
returns |
| 👍 randomBoolean() |
|
boolean |
| 🔮 randomEmoji() |
|
string |
| 📝 randomString() |
length: length of the string (default: 8) |
string |
| 🔢 randomInt() |
max: maximum number (default: 100) |
number |
| 🎨 randomColor() |
|
string |
| 🎯 randomArrayItem() |
array |
any |
| 😺 randomAnimal() |
|
string |
| 🌍 randomCountry() |
|
object |