badge-urls
Version:
Helper functions to generate URLs for all badges / shields from shields.io
7 lines (6 loc) • 688 B
JavaScript
// This file was auto-generated. Do not modify it by hand and instead modify the scraper or code generator files.
import { urlWithOptions } from "../../options";
/** Label for node-lts (scoped with tag, custom registry) (/node/v-lts/@:scope/:packageName/:tag?registry_uri=https%3A%2F%2Fregistry.npmjs.com) */
export const label = `node-lts (scoped with tag, custom registry)`;
/** URL for node-lts (scoped with tag, custom registry) (/node/v-lts/@:scope/:packageName/:tag?registry_uri=https%3A%2F%2Fregistry.npmjs.com) */
export const url = (packagename, tag, options) => urlWithOptions(`/node/v-lts/@:scope/${packagename}/${tag}?registry_uri=https%3A%2F%2Fregistry.npmjs.com`, options);