Home / Type/ SnakeToCamelCase Type — supabase Architecture

SnakeToCamelCase Type — supabase Architecture

Architecture documentation for the SnakeToCamelCase type/interface in getCustomContent.ts from the supabase codebase.

Entity Profile

Source Code

apps/docs/lib/custom-content/getCustomContent.ts lines 7–9

type SnakeToCamelCase<S extends string> = S extends `${infer First}_${infer Rest}`
  ? `${First}${SnakeToCamelCase<Capitalize<Rest>>}`
  : S

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free