Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nodejs/nodejs.org
/ getAcronymFromString
Function
getAcronymFromString
apps/site/util/string.ts:1–2 ·
view source on GitHub ↗
(str: string)
Source
from the content-addressed store, hash-verified
1
export
const
getAcronymFromString = (str: string) =>
2
[...(str.trim().match(/\b(\w)/g) ||
''
)].join(
''
).toUpperCase();
3
4
export
const
dashToCamelCase = (str: string) =>
5
str
Callers
4
SupportersList
Function · 0.90
mapIdToAuthor
Function · 0.90
mapNameToAuthor
Function · 0.90
string.test.mjs
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected