# CaseHelpers | Simple Scaffold
CaseHelpers = "camelCase" \| "hyphenCase" \| "kebabCase" \| "lowerCase" \| "pascalCase" \| "snakeCase" \| "startCase" \| "upperCase"

Skip to main content

# `CaseHelpers`

> CaseHelpers = `"camelCase"` | `"hyphenCase"` | `"kebabCase"` | `"lowerCase"` | `"pascalCase"` | `"snakeCase"` | `"startCase"` | `"upperCase"`

Defined in: types.ts:303

The names of the available helper functions that relate to text capitalization.

These are available for `subdirHelper`.

Helper name | Example code | Example output
--- | --- | ---
[None] | `{{ name }}` | my name
`camelCase` | `{{ camelCase name }}` | myName
`snakeCase` | `{{ snakeCase name }}` | my_name
`startCase` | `{{ startCase name }}` | My Name
`kebabCase` | `{{ kebabCase name }}` | my-name
`hyphenCase` | `{{ hyphenCase name }}` | my-name
`pascalCase` | `{{ pascalCase name }}` | MyName
`upperCase` | `{{ upperCase name }}` | MY NAME
`lowerCase` | `{{ lowerCase name }}` | my name

## See​

- DefaultHelpers
- DateHelpers
- ScaffoldConfig
- ScaffoldConfig.subdirHelper