MCPcopy Create free account
hub / github.com/Noumena-Network/code / sanitizeName

Function sanitizeName

src/utils/tasks.ts:718–720  ·  view source on GitHub ↗

* Sanitizes a name for use in file paths

(name: string)

Source from the content-addressed store, hash-verified

716 * Sanitizes a name for use in file paths
717 */
718function sanitizeName(name: string): string {
719 return name.replace(/[^a-zA-Z0-9]/g, '-').toLowerCase()
720}
721
722/**
723 * Reads team members from the team file

Callers 4

readTeamMembersFunction · 0.70
getAgentStatusesFunction · 0.70
callFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected