1.1.3 • Published 2 years ago
all-the-dice v1.1.3
ALL THE DICE
All the dice is a library to calculate RPG dice notation.
Installation
npm install all-the-dice
Example
import { roll } from "all-the-dice";
console.log(roll("2d12 + 3"))
// any integer between 5 and 27