@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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    1
  • 0.1.0
    0

Package Sidebar

Install

npm i @bdavidxyz/rolldice

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • bdavidxyz