How to use the warframe-worldstate-data.components function in warframe-worldstate-data

To help you get started, we’ve selected a few warframe-worldstate-data examples, based on popular ways it is used in public projects.

github WFCD / warframe-worldstate-parser / src / modules / components.js View on Github external
var md = require('node-md-config');
var jsonQuery = require('json-query');
var componentData =  require('warframe-worldstate-data').components;

var toTitleCase = function (str)
{
    return str.replace(/\w\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();});
}

var RelicSort = function(a, b){
  var aVal = setRelicValForCompare(a);
  var bVal = setRelicValForCompare(b);
  
  if(aVal<bVal)
    return -1;
  else if(aVal===bVal)
    return 0;
  else if (aVal>bVal)
    return 1;

warframe-worldstate-data

Warframe data for use with warframe-worldstate-parser

MIT
Latest version published 14 hours ago

Package Health Score

75 / 100
Full package analysis

Similar packages