Package Exports
- dice-tray
- dice-tray/dist/dice.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dice-tray) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
The purpose of this project is to create dice tray objects that contain dice strings which can be rolled repeatedly optionally with disadvantage/advantage. Note that the latter part only affects d20.
Result objects will be returned which will contain an integer sum and a string showing breakdowns per dice.
Please read the test/test.test.ts file to learn usage of this code.