/dnd-roller

A simple dnd dice roller

Primary LanguageJavaScriptMIT LicenseMIT

dnd-roller

A simple dice roller for ttrpgs.

Usage

Best when used with npx

npx dnd-roller roll "1d20 + 2"

If you need to get help

npx dnd-roller help

You can also define aliases for common rolls. For instance, if you find yourself making a reflex save often, you can alias that

npx dnd-roller alias reflex 1d20+8

And then roll that again later

npx dnd-roller roll reflex

By default, aliases are stored in ~/.dnd-roller/config.json, but that can be changed with a flag

npx dnd-roller --config=~/.my-directory/config.json roll reflex