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