docs: function getService (name) {
      // get service from global register
      var service = getGlobal().services[name]
      // require service to be defined
      assert(defined(service), `service ${name} not defined`)
      // return service
      return service
  }