Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

dicerollvi

vincenzo17MIT1.0.4

dice roll

putting, dice

readme

Installation

npm install dicerollvi

Usage

For use dicerollvi

single roll

var diceroll = require('dicerollvi');
//one dice
diceroll.dice()
//two dice
diceroll.twoDice()

multiple roll

var diceroll = require('dicerollvi');
//one dice --> in the argoument of function specify the number of roll
diceroll.diceRoll(3)
//two dice --> in the argoument of function specify the number of roll
diceroll.TwoDiceRoll(7)