RPG
Set of tools for RPG games
Installation
npm install @emersonlaurentino/rpg
Usage
diceRoller
import { diceRoller } from '@emersonlaurentino/rpg'
const dice2d10 = diceRoller(2, 10);
console.log(dice2d10) // output: { result: 6, rolls: [4, 2] }
Set of tools for RPG games
npm install @emersonlaurentino/rpg
import { diceRoller } from '@emersonlaurentino/rpg'
const dice2d10 = diceRoller(2, 10);
console.log(dice2d10) // output: { result: 6, rolls: [4, 2] }
npm i @emersonlaurentino/rpg
2
1.1.0
MIT
1.03 kB
4