UNPKG

badge-urls

Version:

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

6 lines (5 loc) 341 B
import { ShieldsIOOptions } from "../../options"; /** Label for GitHub stars (/github/stars/:user/:repo?style=social) */ export declare const label = "GitHub stars"; /** URL for GitHub stars (/github/stars/:user/:repo?style=social) */ export declare const url: (user: string, repo: string, options?: ShieldsIOOptions | undefined) => string;