whole_func_string: function loadConnector(type) {
          const localPath = `${__dirname}/../connectors/${type}.js`;
          const paths = {};
          paths[localPath] = true;
          paths[type] = true;
  
          const err = `Could not find connector implementation for: ${type}\n`;
  
          return getModule(type, paths, err);
      }
func_code_string: function loadConnector(type) {
          const localPath = `${__dirname}/../connectors/${type}.js`;
          const paths = {};
          paths[localPath] = true;
          paths[type] = true;
  
          const err = `Could not find connector implementation for: ${type}\n`;
  
          return getModule(type, paths, err);
      }
func_documentation_string: /*
  Connectors can either be JavaScript file in a directory or can be packaged
  as a npm module.