docs: function parseUrl(url, normalize = false) {
      if (typeof url !== "string" || !url.trim()) {
          throw new Error("Invalid url.")
      }
      if (normalize) {
          if (typeof normalize !== "object") {
              normalize = {
                  stripFragment: false
              }
          }
          url = normalizeUrl(url, normalize)
      }
      const parsed = parsePath(url)
      return parsed;
  }