MCPcopy Index your code
hub / github.com/codeaashu/claude-code / normalize

Function normalize

src/tools/MCPTool/classifyForCollapse.ts:588–593  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

586])
587
588function normalize(name: string): string {
589 return name
590 .replace(/([a-z])([A-Z])/g, '$1_$2')
591 .replace(/-/g, '_')
592 .toLowerCase()
593}
594
595export function classifyMcpToolForCollapse(
596 _serverName: string,

Callers 5

isAgentMemoryPathFunction · 0.50
resolveSkillFilePathFunction · 0.50
validateMemoryPathFunction · 0.50
isAutoMemPathFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected