# @half-elf/rogue

> Utility library for all underhanded d20 needs.

Latest version **1.0.1** (published 2020-09-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @half-elf/rogue
pnpm add @half-elf/rogue
yarn add @half-elf/rogue
bun add @half-elf/rogue
```

## 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.0.1 |
| Published | 2020-09-17 |
| First published | 2020-09-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | sindrekjr |
| Keywords | d20, rpg, util |

## Links

- npm: https://www.npmjs.com/package/@half-elf/rogue
- npm.io page: https://npm.io/package/@half-elf/rogue

## Dependencies (1)

- [dice-typescript](https://npm.io/package/dice-typescript.md) ^1.6.1

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-09-17
- 1.0.0 — 2020-09-16

## README

# Rogue
Utility library for all underhanded d20 needs.

## Usage
### Dice library
```js
const { roll } = require('@half-elf/rogue');

const singleRoll = roll('d20');
const weirdCompositeRoll = roll('(d4)d6 + 4');
const rollWithOptions = roll('20d4', { max: true, min: true, avg: true });

const { total, max, min, avg } = rollWithOptions;
```

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