Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doug-wade/dnd-roller
A simple dnd dice roller
https://github.com/doug-wade/dnd-roller
Last synced: 19 days ago
JSON representation
A simple dnd dice roller
- Host: GitHub
- URL: https://github.com/doug-wade/dnd-roller
- Owner: doug-wade
- License: mit
- Created: 2015-11-29T01:35:34.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-05T01:25:42.000Z (10 months ago)
- Last Synced: 2024-10-30T11:07:57.246Z (2 months ago)
- Language: JavaScript
- Size: 21.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dnd-roller
A simple dice roller for ttrpgs.
## Usage
Best when used with `npx`
```shell
npx dnd-roller roll "1d20 + 2"
```If you need to get help
```shell
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
```shell
npx dnd-roller alias reflex 1d20+8
```And then roll that again later
```shell
npx dnd-roller roll reflex
```By default, aliases are stored in `~/.dnd-roller/config.json`, but that can be changed with a flag
```shell
npx dnd-roller --config=~/.my-directory/config.json roll reflex
```