code: function (filePath, encode) {
          encode = encode || 'utf-8';
  
          if (this.isFileSync(filePath)) {
              var raw = fs.readFileSync(filePath, encode);
              var exports = {};
              var context = {
                  process: process,
                  require: function(name) {
                      var module;
                      try {
                          module = require((function (_module) {
                              if (_module.charAt(0) !== '.') {
                                  return _module;
                              }
                              return path.resolve(path.dirname(filePath), _module);
                          }(name)));
                      } catch (e) {
                          throw e;
                      }
                      return module;
                  },
                  __filename: __filename,
                  __dirname: __dirname,
                  console: console,
                  module: {
                      exports: exports
                  },
                  exports: exports
              };
  
              try {
                  return vm.runInNewContext(raw, context);
              } catch (e) {
                  throw e;
              }
          }
          return {};
      }
docs: JS設定ファイルからJSONデータを読み込む
  
  @name readFileFnJSONSync
  @memberof fsys
  @method
  @param {String} filePath load file path
  @param {String} encode file encode
  @return {Object} load json data