@emersonlaurentino/rpg

1.1.0 • Public • Published

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] }

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @emersonlaurentino/rpg

    Weekly Downloads

    1

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    1.03 kB

    Total Files

    4

    Last publish

    Collaborators

    • emersonlaurentino