@tylertech/forge-build-tools
Version:
Node utilities for building and packaging libraries.
14 lines (13 loc) • 544 B
TypeScript
/**
* 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;