JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q0F
  • License MIT

Native-ESM dice-roller using dice notation

Package Exports

  • redroll

Readme

Description

Redroll is a native-ESM dice-roller based on droll. It accepts input in dice notation.

Usage

import { roll } from 'https://esm.sh/redroll'
console.log(roll('3d6+1'))
//> 5 + 3 + 4 + 1 = 13