Wiki
first step
var loadjsonconfig = ;
second step
var configKey = filename : "key1" "key2" "key3" ; var configDir = __dirname + '/config/'; var configManager = configKey : configKey configDir : configDir;
Useage
//get one object by key name and valuevar obj = configManager; //get objects by key name and valuevar objs = configManager; //get obj by two keys name and valuesvar obj = configManager;