MCPcopy Index your code
hub / github.com/fontsource/fontsource / normalizeKebabCase

Function normalizeKebabCase

packages/core/src/utils/text.ts:1–2  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

1export const normalizeKebabCase = (text: string): string =>
2 text.toLowerCase().replace(/\s+/g, '-');

Callers 4

deriveBaseNameFunction · 0.90
buildFontFunction · 0.90
resolveFontFacesFunction · 0.90
getFaceCommentFunction · 0.90

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected