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 npm (scoped with tag) (/npm/v/:scope/:packageName/:tag) */
export declare const label = "npm (scoped with tag)";
/** URL for npm (scoped with tag) (/npm/v/:scope/:packageName/:tag) */
export declare const url: (scope: string, packagename: string, tag: string, options?: ShieldsIOOptions | undefined) => string;