Skip to content

Cyklan/all-the-dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Roll RPG dice with string notation

Resources

Stars

Watchers

Forks

Packages

No packages published