all-the-dice
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i all-the-dice

Weekly Downloads

2

Version

1.1.3

License

MIT

Unpacked Size

5.26 kB

Total Files

10

Last publish

Collaborators

  • cyklan