OneDice in TypeScript.
Based on OneDice standard.
import { OneDice } from 'onedice';
const onedice = new OneDice()
onedice.eval('1d6')
onedice.eval('2d3+3d4')
OneDice in TypeScript.
Based on OneDice standard.
import { OneDice } from 'onedice';
const onedice = new OneDice()
onedice.eval('1d6')
onedice.eval('2d3+3d4')
npm i onedice
26
1.0.8
MIT
42.1 kB
17