UNPKG

@codemod-utils/ember

Version:
23 lines (22 loc) 474 B
/** * Converts an entity name to camel case. Used for naming the * function that is associated with the entity. * * @param entityName * * The name of an entity (made up of lowercase letters, hyphen, * and forward slash). * * @return * * The name in camel case. * * @example * * ```ts * const newValue = camelize('ui/form/generate-error-message'); * * // 'uiFormGenerateErrorMessage' * ``` */ export declare function camelize(entityName: string): string;