UNPKG

canvacard

Version:

Powerful image manipulation package for beginners.

10 lines 473 B
export = getIconPath; /** * @name getIconPath * @description 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. * @param {string} iconUrl Icon name or icon URL. * @returns {string} Absolute URL of the icon. * @throws {APIError} If there is a problem building the icon URL. */ declare function getIconPath(iconUrl: string): string; //# sourceMappingURL=icon.utils.d.ts.map