dice-command-parser 0.4.0

A library for parsing basic dice roll commands like 2d20 + 2
Documentation

Dice Command Parser

This library parses a simple dice roll command and produces a representation of the dice that should be rolled and its modifier.

Example input: d6, 3d20, d6 + 5, or 2d20 - 4.