MCPcopy Create free account
hub / github.com/github/awesome-copilot / parseKeywords

Function parseKeywords

eng/external-plugin-intake.mjs:105–117  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

103}
104
105function parseKeywords(value) {
106 const normalized = stripNoResponse(value);
107 if (!normalized) {
108 return undefined;
109 }
110
111 const keywords = normalized
112 .split(/[\n,]/)
113 .map((entry) => entry.trim())
114 .filter(Boolean);
115
116 return keywords.length > 0 ? keywords : undefined;
117}
118
119function parseChecklist(value) {
120 const checked = new Set();

Callers 1

Calls 1

stripNoResponseFunction · 0.85

Tested by

no test coverage detected