diceroll.js
v0.0.2
Published
Rolls a dice for you, simple!
Downloads
7
Maintainers
Readme
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]