[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) › camelCaseToConstantCase

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

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

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

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