Description
Redroll is a native-ESM dice-roller based on droll. It accepts input in dice notation.
Usage
import { roll } from 'https://esm.sh/redroll'
console.log(roll('3d6+1'))
//> 5 + 3 + 4 + 1 = 13
Redroll is a native-ESM dice-roller based on droll. It accepts input in dice notation.
import { roll } from 'https://esm.sh/redroll'
console.log(roll('3d6+1'))
//> 5 + 3 + 4 + 1 = 13
npm i redroll
0
0.1.3
MIT
3.86 kB
4