@bdavidxyz/rolldice

0.1.1 • Public • Published

Roll Dice

A small library that rolls a classic dice : 1 to 6.

Installation

npm install @bdavidxyz/rolldice

Usage

var rollDice = require('@bdavidxyz/rolldice');

var rolled = rollDice();

console.log(rolled);

Output should be a number between 1 (inclusive) and 6 (inclusive)

Tests

No test.

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style.

Dependents (0)

Package Sidebar

Install

npm i @bdavidxyz/rolldice

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • bdavidxyz