MCPcopy Index your code
hub / github.com/QwikDev/qwik / kebabToCamel

Function kebabToCamel

scripts/eslint-docs.ts:22–26  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

20}
21
22function kebabToCamel(str: string) {
23 return str
24 .toLowerCase()
25 .replace(/([-_][a-z])/g, (group) => group.toUpperCase().replace('-', '').replace('_', ''));
26}
27
28function renderExample(example: QwikEslintExample, state: 'good' | 'bad' = 'good') {
29 mdx.push('<div class="code-wrapper">');

Callers 1

eslint-docs.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…