MCPcopy Create free account
hub / github.com/Superflows-AI/superflows / snakeToCamel

Function snakeToCamel

supabase/functions/execute-code-2/utils.ts:119–123  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

117}
118
119export function snakeToCamel(str: string): string {
120 return str.replace(/(_\w)/g, function (m: string): string {
121 return m[1].toUpperCase();
122 });
123}
124
125export function getJsonMIMEType<inObj>(
126 inputDict: Record<string, inObj> | undefined | null,

Callers 1

index.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected