JSPM

@bdavidxyz/rolldice

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q34501F
  • License MIT

Rolls dice between 1 and 6

Package Exports

  • @bdavidxyz/rolldice

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@bdavidxyz/rolldice) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.