MCPcopy
hub / github.com/fengyuanchen/cropperjs / toCamelCase

Function toCamelCase

packages/utils/src/functions.ts:111–113  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

109 * @returns {string} Returns the transformed value.
110 */
111export function toCamelCase(value: string): string {
112 return value.replace(REGEXP_KEBAB_CASE, (substring: string) => substring.slice(1).toUpperCase());
113}
114
115const REGEXP_SPACES = /\s\s*/;
116

Callers 3

index.spec.tsFile · 0.90
connectedCallbackMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…