Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.6.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