UNPKG

badge-urls

Version:

Helper functions to generate URLs for all badges / shields from shields.io

3 lines (2 loc) 184 B
/** Converts `pathOrUrl` to a URL object. If the argument is a path, it will be prefix with the `baseUrl` */ export default function createUrl(urlOrPath: string, prefix: string): URL;