Skip to main content
Module

x/fresh/plugins/twindv1_deps.ts>KebabCase

The next-gen web framework.
Extremely Popular
Go to Latest
type alias KebabCase
import { type KebabCase } from "https://deno.land/x/fresh@1.4.1/plugins/twindv1_deps.ts";
definition: S extends `${infer C}${infer T}` ? KebabCase<T> extends infer U ? U extends string ? T extends Uncapitalize<T> ? `${Uncapitalize<C>}${U}` : `${Uncapitalize<C>}-${U}` : never : never : S