UNPKG

@randsum/roller

Version:

A flexible, type-safe dice roller for tabletop RPGs, game development, and probability simulations

28 lines (26 loc) 637 B
export { roll } from './roll' export { validateNotation } from './validateNotation' export { optionsToNotation, optionsToDescription, optionsToSidesFaces } from './lib/transformers' export { isDiceNotation } from './isDiceNotation' export type { DiceNotation, RollArgument, RollOptions, RequiredNumericRollParameters, ComparisonOptions, DropOptions, ModifierConfig, ModifierLog, ModifierOptions, NumericRollBonus, ReplaceOptions, RerollOptions, UniqueOptions, RollParams, RollRecord, RollResult, RollerRollResult, InvalidValidationResult, ValidValidationResult, ValidationResult } from './types'