1.3.2 • Published 3 months ago

mini-prophecy-diceroller v1.3.2

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
3 months ago

Mini Prophecy Diceroller

NPM Registry

A mini language written using ts-parsec to evaluate a string of rolled dice with arthritic expressions

Supported Tokens

  • Parenthesis - (1d20 + 2) * 2
  • Addition/Subtraction - 1d20 + 17 - 8
  • Multiplication/Division - 1d20 / 2

npm Commands

  • npm run test - Runs test suit
  • npm run build - Runs and outputs compiled typescript
  • npx ts-node src/cmd.ts '1d20 * 2 + 1d6' - Evaluate a roll from the command line
1.3.2

3 months ago

1.3.1

3 months ago

1.3.0

3 months ago

1.2.2

3 months ago

1.2.1

3 months ago

1.2.0

3 months ago

1.1.0

3 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago