code: 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);
      }
docs: /*
  Connectors can either be JavaScript file in a directory or can be packaged
  as a npm module.