MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / title

Function title

libatomic/src/review/viewer.js:54–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 return node;
53 };
54 const title = text => String(text || '').replaceAll('_', ' ').replace(/^./, c => c.toUpperCase());
55 const shown = value => value === null || value === undefined ? 'unavailable' : String(value);
56 const badge = (text, value = text) => el('span', 'badge ' + String(value).toLowerCase().replace(/[^a-z]/g, ''), text);
57 const detail = (label, content) => {

Callers 10

showCardFunction · 0.85
findingBlockFunction · 0.85
impactEvidenceFunction · 0.85
renderNavigationFunction · 0.85
comparisonOverviewFunction · 0.85
renderCriteriaFunction · 0.85
renderRiskOverviewFunction · 0.85
renderSummaryFunction · 0.85
viewer.jsFile · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected