kit
    Preparing search index...
    • Normalise URL pathname (relative URL)

      • replaces too many consecutive slashes
      • removes the trailing slash

      Parameters

      • pathname: string = ""

      Returns string

      Empty string if given pathname is undefined