diceroll.js

0.0.2 • Public • Published

dice

Roll a customisable sided dice, defaults to 6 Below are some examples on how to use this package

let dice = require('diceroll.js')
console.log(dice())

Output: [1-6]

Another example:

let dice = require('diceroll.js')
console.log(dice(150))

Output: [1-150]

/diceroll.js/

    Package Sidebar

    Install

    npm i diceroll.js

    Weekly Downloads

    3

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    1.03 kB

    Total Files

    3

    Last publish

    Collaborators

    • uhfinn