Skip to content

Get Started ​

Install ​

bash
npm install @dice-roller/rpg-dice-roller

Setup ​

You can import the dice roller and use it in your application, using ES standard modules like so:

javascript
import * as rpgDiceRoller from '@dice-roller/rpg-dice-roller';

If you only want to import specific components, you can do so like:

javascript
import { DiceRoller } from '@dice-roller/rpg-dice-roller';

MIT Licensed · Credits