UNPKG

@swrpg-online/dice

Version:

A TypeScript library that creates dice rolls using the narrative dice system for the Star Wars Roleplaying Game by Fantasy Flight Games and Edge Studio.

6 lines (5 loc) 242 B
#!/usr/bin/env node import { DicePool, RollResult } from "./types"; export declare function parseDiceNotation(input: string): DicePool; export declare const formatResult: (result: RollResult) => string; export declare const main: () => void;