Returns random number 1 thru 6
npm i throw-dice
const throwDice = require('throw-dice')
console.log(throwDice())
// -> number 1 .. 6
npx throw-dice
# -> number 1 .. 6
npm i -g throw-dice
and call it anytime
throw-dice
# -> number 1 .. 6
short command version is also available
td
# -> number 1 .. 6