code: function _addTransport(app, item) {
    if (!item.name || item.name === '') {
      try {
        if (typeof item.fn.publicName === 'string') item.name = item.fn.publicName;
      } catch (e) {
      }
    }
    item.name = item.name.trim();
    if (item.name.indexOf('thorin-transport-') === 0) {
      item.name = item.name.substr(17);
    }
    if (typeof app[transports][item.name] !== 'undefined') {
      throw new Error('Thorin.addTransport: transport ' + item.name + " is already registered. Please use a different name.");
    }
    let transportObj = new item.fn(app, item.name);
    app[transports][item.name] = transportObj;
  }
docs: /*
  Registers a new transport to the Thorin app. This is a private function.
  // TODO: handle init() and run() if the app is already