JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q47104F
  • License ISC

Contains everything required to roll nwod dice.

Package Exports

  • @nwod-angel/nwod-roller
  • @nwod-angel/nwod-roller/dist/index.js

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 (@nwod-angel/nwod-roller) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

nwod-roller

Everything you need to roll New World of Darkness dice in javascript.

Installation

Install using npm install

npm install @nwod-angel/nwod-roller

Usage

The two main types are InstantRoll and ExtendedRoll.

let roll = new InstantRoll({dicePool: 5})

// 1 **10** __4__ **10** **__8__** **9** 7
roll.toString()

// true
roll.isSuccess()

// 4
roll.numberOfSuccesses()