value-randomer

1.1.6 • Public • Published

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

Package Sidebar

Install

npm i value-randomer

Weekly Downloads

1

Version

1.1.6

License

ISC

Unpacked Size

4.28 kB

Total Files

7

Last publish

Collaborators

  • xmuffionex