UNPKG

@tylertech/forge-build-tools

Version:
14 lines (13 loc) 544 B
/** * Converts a string value to dash-case. * Ex. someTestValue => some-test-value * @param {string} value The string to convert */ export declare function dashify(value: string): string; /** * Converts a string to camelcase (i.e. SomeStringValue). * If the `pascal` parameter is passed as false, the first letter will be lowercased (i.e. someStringValue). * @param {string} str The input string. * @param {boolean} [pascal=true] Uppercase the first letter. */ export declare function camelCase(str: string, pascal?: boolean): string;