This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
chance with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
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.
Know a library that uses Chance that isn't here? Update the README and submit a PR!
Please feel free to reach out to me if you have any questions or suggestions.
Be a part of this project! You can run the test using the following.
This project is licensed under the MIT License so feel free to hack away :)
Proudly written in Washington, D.C.