dnd-roller

0.2.0 • Public • Published

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

Package Sidebar

Install

npm i dnd-roller

Weekly Downloads

3

Version

0.2.0

License

MIT

Unpacked Size

7.93 kB

Total Files

8

Last publish

Collaborators

  • douglas.wade