fantasy-dice

1.0.2 • Public • Published

dice

A Jison DnD style dice roller. Simply supply a string and it will parse it into a roll. Supports arithmetic, keeping high/low dice, and fudge dice.

Usage

npm install fantasy-dice [-g]

roll 4d6h3

echo -e "var dice = require('fantasy-dice');\nconsole.log(dice("4d6h3"));" > dice.js
node dice.js

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    1
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i fantasy-dice

Weekly Downloads

1

Version

1.0.2

License

ISC

Last publish

Collaborators

  • mattconsto