# @emersonlaurentino/rpg

> > Set of tools for RPG games

Latest version **1.1.0** (published 2019-03-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @emersonlaurentino/rpg
pnpm add @emersonlaurentino/rpg
yarn add @emersonlaurentino/rpg
bun add @emersonlaurentino/rpg
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2019-03-17 |
| First published | 2019-03-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | emersonlaurentino |

## Links

- npm: https://www.npmjs.com/package/@emersonlaurentino/rpg
- npm.io page: https://npm.io/package/@emersonlaurentino/rpg

## Dependencies (1)

- [ava](https://npm.io/package/ava.md) ^1.3.1

## Recent versions

- 1.1.0 (latest) — 2019-03-17

## README

# RPG
> Set of tools for RPG games

## Installation

```shell
npm install @emersonlaurentino/rpg
```

## Usage

### diceRoller

```js
import { diceRoller } from '@emersonlaurentino/rpg'

const dice2d10 = diceRoller(2, 10);

console.log(dice2d10) // output: { result: 6, rolls: [4, 2] }
```

---
_Source: https://npm.io/package/@emersonlaurentino/rpg · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
