interface DerivedNames

The five naming forms derived from an input string.

Properties

readonly
raw: string

The raw input as provided by the user.

readonly
kebab: string

kebab-case: lowercase with hyphens (e.g., user-profile).

readonly
camel: string

camelCase: lowercase first letter, no separators (e.g., userProfile).

readonly
pascal: string

PascalCase: uppercase first letter, no separators (e.g., UserProfile).

readonly
screaming: string

SCREAMING_SNAKE_CASE: uppercase with underscores (e.g., USER_PROFILE).

Usage

import { type DerivedNames } from "cli/src/index.ts";