@augment-vir/common
Version:
A collection of augments, helpers types, functions, and classes for any JavaScript environment.
19 lines (18 loc) • 744 B
TypeScript
import { type PartialWithUndefined } from '@augment-vir/core';
import { type CasingOptions } from './casing.js';
/**
* Converts a kebab-case string to CamelCase.
*
* @category String
* @category Package : @augment-vir/common
* @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common)
*/
export declare function kebabCaseToCamelCase(rawKebabCase: string, casingOptions?: PartialWithUndefined<CasingOptions> | undefined): string;
/**
* Converts a CamelCase string to kebab-case.
*
* @category String
* @category Package : @augment-vir/common
* @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common)
*/
export declare function camelCaseToKebabCase(rawCamelCase: string): string;