utils/naming library

Functions

isValidFeatureName(String name) bool
Returns whether name is a valid snake_case feature identifier (starts with a letter and contains only lowercase letters, digits, and underscores).
normalizeFeatureName(String input) String?
Normalises an arbitrary input into a valid snake_case feature name.
toSnakeCase(String input) String
Converts input to snake_case, splitting on camelCase boundaries and any run of non-alphanumeric characters.