Package Exports
- dice-notation-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-notation-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Dice Notation
Parses dice notation and rolls dice.
Install
Browser
You can grab a hosted version here:
<script src="https://cdn.jsdelivr.net/gh/chapelr/dice-notation@latest/dist/dice.min.js" type="text/javascript"></script>Or include dist/dice.min.js or dice.js as appropriate in your webpage.
NPM
npm install dice-notation-jsThen
const Dice = require('dice-notation-js');