[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [Type](https://evolu.dev/docs/api-reference/common/Type) › kebabCaseToConstantCase

```ts
function kebabCaseToConstantCase(
  value: string & Brand<"KebabCaseIdentifier">,
): string & Brand<"ConstantCaseIdentifier">;
```

Defined in: [packages/common/src/Type.ts:5987](https://github.com/evoluhq/evolu/blob/ecbac001e0c18bbc45b44715f49ecc3a768c5ec9/packages/common/src/Type.ts#L5987)

Converts a [KebabCaseIdentifier](https://evolu.dev/docs/api-reference/common/Type/variables/KebabCaseIdentifier) to a [ConstantCaseIdentifier](https://evolu.dev/docs/api-reference/common/Type/variables/ConstantCaseIdentifier).

Converts `http2-port` to `HTTP2_PORT`. Use [constantCaseToKebabCase](https://evolu.dev/docs/api-reference/common/Type/functions/constantCaseToKebabCase) to
recover the original spelling.