Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/packages/deps.ts>CamelCase

An object oriented Discordeno framework
Latest
type alias CamelCase
import { type CamelCase } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";

Type Parameters

S extends string
definition: S extends `${infer P1}_${infer P2}${infer P3}` ? `${Lowercase<P1>}${Uppercase<P2>}${CamelCase<P3>}` : Lowercase<S>