onedice
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

onedice.js

OneDice in TypeScript.

Based on OneDice standard.

Usage

import { OneDice } from 'onedice';

const onedice = new OneDice()

onedice.eval('1d6')
onedice.eval('2d3+3d4')

Dependencies (0)

    Dev Dependencies (12)

    Package Sidebar

    Install

    npm i onedice

    Weekly Downloads

    28

    Version

    1.0.8

    License

    MIT

    Unpacked Size

    42.1 kB

    Total Files

    17

    Last publish

    Collaborators

    • nanahira