RPG Dice Roller
A JS based dice roller that can roll various types of dice and modifiers, along with mathematical equations.
npm install rpg-dice-roller
Check out the documentation at https://greenimp.github.io/rpg-dice-roller/.
We're always happy for community contributions. You can find our contributing guide in the docs: https://greenimp.github.io/rpg-dice-roller/contributing/.
This dice roller has been released under the MIT licence, meaning you can do pretty much anything you like with it, so long as the original copyright remains in place.
You can use it in commercial products.
If the licence terminology in the licence.txt is confusing, check out this: https://www.tldrlegal.com/l/mit