1.4.5 • Published 8 years ago

poe-mod-descriptions v1.4.5

Weekly downloads
39
License
ISC
Repository
-
Last release
8 years ago

poe-mod-descriptions

This module provides descriptions for mods

Usage

import * as poe from 'poe-mod-descriptions';
var mods = [mod1, mod2, mod3];
poe.getDescriptions(mods);

Returns an object containing the text string of the stats and a boolean indicating whether it is a master craft. Pass a falsy value as a stat's value to get back a value range (min-max) for a stat's description.

Requirements

The data must be of this structure

"mod" : {
  ...
  ...
  ...
  "stats": [
    "stat1": {
      "id": ...
      "value": ...
      "valueMin": ...
      "valueMax": ...
      "key": ...
      ...
    },
    "stat2": {
      ...
    }
  ]
}
1.4.5

8 years ago

1.4.4

8 years ago

1.4.3

8 years ago

1.4.2

8 years ago

1.4.1

8 years ago

1.4.0

8 years ago

1.3.2

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.0

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago