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