• Join all arguments together and normalize the resulting url. This works similar to path.join but you shouldn't use path.join for urls since it works differently depending on the operating system and also doesn't work for some cases.

    Parameters

    • Rest ...parts: string[]

    Returns string

  • Concatenates all the given strings into a normalized URL. Will place slashes between input strings if necessary.

    Parameters

    • parts: string[]

    Returns string