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

Function splitIdentifier

src/services/voiceKeyterms.ts:40–46  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

38 * discarded to avoid noise.
39 */
40export function splitIdentifier(name: string): string[] {
41 return name
42 .replace(/([a-z])([A-Z])/g, '$1 $2')
43 .split(/[-_./\s]+/)
44 .map(w => w.trim())
45 .filter(w => w.length > 2 && w.length <= 20)
46}
47
48function fileNameWords(filePath: string): string[] {
49 const stem = basename(filePath).replace(/\.[^.]+$/, '')

Callers 2

fileNameWordsFunction · 0.85
getVoiceKeytermsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected