Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pacexy/flow
/ camelToSnake
Function
camelToSnake
apps/reader/src/styles.ts:25–26 ·
view source on GitHub ↗
(str: string)
Source
from the content-addressed store, hash-verified
23
}
24
25
const
camelToSnake = (str: string) =>
26
str.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`)
27
28
function
mapToCss(o: CSSProperties) {
29
return
keys(o)
Callers
1
mapToCss
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected