npm.io
1.1.6 • Published 5 years ago

value-randomer

Licence
ISC
Version
1.1.6
Deps
0
Size
4 kB
Vulns
0
Weekly
0
Stars
1

Welcome to value-randomer

Version Documentation Maintenance License: ISC Twitter: muffionex

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

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