A package that helps you with everything related to randomness ๐
You can install all-random with npm by running:
$ npm install all-random
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 |