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

Function toSnakeCase

scripts/util.ts:371–375  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

369
370// pascal to snake case
371export const toSnakeCase = (str: string) =>
372 str
373 .split(/\.?(?=[A-Z])/)
374 .join('-')
375 .toLowerCase();

Callers 1

getMemberAnchorIdFunction · 0.90

Calls 1

joinMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…