Welcome to value-randomer
Best module to randomize some cool stuff! From random integers to uuid generator!
Homepage
Install
npm install value-randomer
Usage
<Randomer>.randomInt(min, max)
Returns random integer from min to max. Both arguments are required!
<Randomer>.randomHex(showHash?)
Generates random HEX number. showHash is optional argument. When showHash value is true, returns for example: #7289da, when false or not set 7289da
<Randomer>.uuid()
Returns new generated UUID
Run tests
npm run test
Author
xmuffionex
- Twitter: @muffionex
- Github: @xMuffionex
Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a ️ if this project helped you!
License
Copyright 2020 xmuffionex.
This project is ISC licensed.
This README was generated with by readme-md-generator