Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.5.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