UNPKG

badge-urls

Version:

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

7 lines (6 loc) 795 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 Sonatype Nexus (Query Options) (/nexus/:repo/:groupId/:artifactId?queryOpt=%3Ac%3Dagent-apple-osx%3Ap%3Dtar.gz&server=https%3A%2F%2Frepository.jboss.org%2Fnexus) */ export const label = `Sonatype Nexus (Query Options)`; /** URL for Sonatype Nexus (Query Options) (/nexus/:repo/:groupId/:artifactId?queryOpt=%3Ac%3Dagent-apple-osx%3Ap%3Dtar.gz&server=https%3A%2F%2Frepository.jboss.org%2Fnexus) */ export const url = (repo, groupid, artifactid, options) => urlWithOptions(`/nexus/${repo}/${groupid}/${artifactid}?queryOpt=%3Ac%3Dagent-apple-osx%3Ap%3Dtar.gz&server=https%3A%2F%2Frepository.jboss.org%2Fnexus`, options);