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

Function parseBuildFeatures

scripts/generate_slash_command_appendix.mjs:330–335  ·  view source on GitHub ↗
(source)

Source from the content-addressed store, hash-verified

328}
329
330function parseBuildFeatures(source) {
331 const body = extractArrayBodyFromAnchor(source, 'const buildFeatures =')
332 return splitTopLevelCommaList(body)
333 .map(item => item.match(/'([^']+)'/)?.[1] ?? '')
334 .filter(Boolean)
335}
336
337function inferFamilyName(specifier) {
338 const relative = specifier.replace(/^\.\//, '')

Calls 2

splitTopLevelCommaListFunction · 0.85

Tested by

no test coverage detected