MCPcopy Index your code
hub / github.com/simstudioai/sim / formatProviderName

Function formatProviderName

apps/sim/lib/logs/get-trigger-options.ts:74–79  ·  view source on GitHub ↗

* Formats a provider name into a display-friendly label * e.g., "microsoft_teams" -> "Microsoft Teams"

(provider: string)

Source from the content-addressed store, hash-verified

72 * e.g., "microsoft_teams" -> "Microsoft Teams"
73 */
74function formatProviderName(provider: string): string {
75 return provider
76 .split(/[-_]/)
77 .map((word) => word.charAt(0).toUpperCase() + word.slice(1))
78 .join(' ')
79}
80
81/**
82 * Internal: Initialize metadata map for O(1) lookups

Callers 2

getTriggerOptionsFunction · 0.85
getIntegrationMetadataFunction · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected