hardlounge/src/helper.js
2016-02-10 06:20:05 +00:00

11 lines
220 B
JavaScript

var path = require("path");
module.exports = {
HOME: (process.env.HOME || process.env.USERPROFILE) + "/.lounge",
getConfig: getConfig
};
function getConfig() {
return require(path.resolve(this.HOME) + "/config");
}