MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / providerLabel

Function providerLabel

packages/react/src/pages/secrets.tsx:44–50  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

42};
43
44const providerLabel = (key: string): string =>
45 PROVIDER_LABELS[key] ??
46 key
47 .split(/[-_]/g)
48 .filter(Boolean)
49 .map((part) => part.charAt(0).toUpperCase() + part.slice(1))
50 .join(" ");
51
52export function SecretsPage(props: { showProviderInfo?: boolean }) {
53 useExecutorDocumentTitle("Providers");

Callers 1

SecretsPageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected