Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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(aValbVal)
return 1;