MCPcopy Create free account
hub / github.com/DavidWells/analytics / getPlatformNiceName

Function getPlatformNiceName

scripts/docs.js:470–473  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

468}
469
470function getPlatformNiceName(name) {
471 const lower = name.toLowerCase()
472 return (lower === 'node.js') ? `server-side` : lower
473}
474
475function cleanName(name) {
476 return name.replace(/@analytics\//, '')

Callers 1

renderPlatformSentenceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected