throw-dice
v2.0.3
Published
Throw a dice
Readme
Throw a dice
Returns random number 1 thru 6
Install
npm i throw-diceUse
module
const throwDice = require('throw-dice')
console.log(throwDice())
// -> number 1 .. 6call directly
npx throw-dice
// -> number 1 .. 6install globally
npm i -g throw-diceand call it anytime
throw-dice
// -> number 1 .. 6short command version is also available
td
// -> number 1 .. 6