UNPKG

badge-urls

Version:

Helper functions to generate URLs for all badges / shields from shields.io

7 lines (6 loc) 512 B
// 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 GitHub last commit (branch) (/github/last-commit/:user/:repo/:branch) */ export const label = `GitHub last commit (branch)`; /** URL for GitHub last commit (branch) (/github/last-commit/:user/:repo/:branch) */ export const url = (user, repo, branch, options) => urlWithOptions(`/github/last-commit/${user}/${repo}/${branch}`, options);