MCPcopy Create free account
hub / github.com/QuantiaAI/helm-agents / stripEdges

Function stripEdges

packages/shared/src/rating.ts:44–46  ·  view source on GitHub ↗
(word: string)

Source from the content-addressed store, hash-verified

42}
43
44function stripEdges(word: string): string {
45 return word.replace(/^[*:.,]+|[*:.,]+$/g, "");
46}
47
48/**
49 * Heuristically extract a 5-tier rating from prose (ports rating.parse_rating).

Callers 1

parseRatingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected