Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
1
export
const
normalizeKebabCase = (text: string): string =>
2
text.toLowerCase().replace(/\s+/g,
'-'
);
Callers
4
deriveBaseName
Function · 0.90
buildFont
Function · 0.90
resolveFontFaces
Function · 0.90
getFaceComment
Function · 0.90
Calls
1
replace
Method · 0.65
Tested by
no test coverage detected