badge-urls
Version:
Helper functions to generate URLs for all badges / shields from shields.io
6 lines (5 loc) • 354 B
TypeScript
import { ShieldsIOOptions } from "../../options";
/** Label for GitHub watchers (/github/watchers/:user/:repo?label=Watch) */
export declare const label = "GitHub watchers";
/** URL for GitHub watchers (/github/watchers/:user/:repo?label=Watch) */
export declare const url: (user: string, repo: string, options?: ShieldsIOOptions | undefined) => string;