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