Chance - Random generator helper for JavaScript
See the codeChance - Random generator helper for JavaScript
Homepage: http://chancejs.com
Many more details on http://chancejs.com but this single library can generate random numbers, characters, strings, names, addresses, dice, and pretty much anything else.
It includes the basic building blocks for all these items and is built on top of a Mersenne Twister so it can generate these things with repeatability, if desired.
See the full docs for details on installation and usage.
Or view all of the dependents on npm
Know a library that uses Chance that isn't here? Update the README and submit a PR!
https://www.victorquinn.com @victorquinn
Please feel free to reach out to me if you have any questions or suggestions.
THANK YOU!
Be a part of this project! You can run the test using the following.
Note: Make sure you have Yarn installed globally
yarnyarn testThis project is licensed under the MIT License so feel free to hack away :)
Proudly written in Washington, D.C.
Overall
Maintained
Code review
npm
Latest release
Releases this year
(top 24 of 41)
156 followers · starred Jan 2022
551 followers · starred Sep 2015
10,233 followers · starred Jun 2015
825 followers · starred Jul 2016
Chance - Random generator helper for JavaScript
See the codeChance - Random generator helper for JavaScript
Homepage: http://chancejs.com
Many more details on http://chancejs.com but this single library can generate random numbers, characters, strings, names, addresses, dice, and pretty much anything else.
It includes the basic building blocks for all these items and is built on top of a Mersenne Twister so it can generate these things with repeatability, if desired.
See the full docs for details on installation and usage.
Or view all of the dependents on npm
Know a library that uses Chance that isn't here? Update the README and submit a PR!
https://www.victorquinn.com @victorquinn
Please feel free to reach out to me if you have any questions or suggestions.
THANK YOU!
Be a part of this project! You can run the test using the following.
Note: Make sure you have Yarn installed globally
yarnyarn testThis project is licensed under the MIT License so feel free to hack away :)
Proudly written in Washington, D.C.
Overall
Maintained
Code review
npm
Latest release
Releases this year
(top 24 of 41)
156 followers · starred Jan 2022
551 followers · starred Sep 2015
10,233 followers · starred Jun 2015
825 followers · starred Jul 2016