# Function urlJoin

- urlJoin(baseUrl, ...pathParts): string

- Join a base url with path parts

  #### Parameters

  - baseUrl: string

    base url (protocol, host, port, first path parts)

  - `Rest` ...pathParts: string[]

    other path parts. the first one start with ? or & causes the remaining parts to be treated as query params

  #### Returns string

  full URL

  - Defined in node/utils.ts:116