hardlounge/src/helper.js

11 lines
220 B
JavaScript
Raw Normal View History

2014-10-04 23:22:23 +00:00
var path = require("path");
2014-10-03 23:33:44 +00:00
module.exports = {
HOME: (process.env.HOME || process.env.USERPROFILE) + "/.shout",
2014-10-03 23:33:44 +00:00
getConfig: getConfig
};
2014-10-03 23:33:44 +00:00
function getConfig() {
2014-10-04 23:22:23 +00:00
return require(path.resolve(this.HOME) + "/config");
2014-10-03 23:33:44 +00:00
};