🔍Icon

getIconPath ⇒ string

Function to get the URL of a badge icon. If the icon is a relative path, it is transformed into an absolute URL pointing to the GitHub repository.

Kind: global variable Returns: string - Absolute URL of the icon. Throws:

  • APIError If there is a problem building the icon URL.

ParamTypeDescription

iconUrl

string

Icon name or icon URL.

Last updated