What: - Event Aggregator Util - Preparation for normalizing event in a new format (backward compatible with the current format) - GQL Schema to joiner config and some Entities configured - Link modules emmiting events
3 lines
103 B
TypeScript
3 lines
103 B
TypeScript
export const camelToSnakeCase = (string) =>
|
|
string.replace(/([a-z])([A-Z])/g, "$1_$2").toLowerCase()
|