MCPcopy Create free account
hub / github.com/EvoMap/evolver / fmtMs

Function fmtMs

scripts/recall-verify-report.js:143–147  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

141}
142
143function fmtMs(n) {
144 if (!Number.isFinite(n) || n === 0) return '—';
145 if (n < 1000) return Math.round(n) + 'ms';
146 return (n / 1000).toFixed(1) + 's';
147}
148
149function printMarkdown(result, since) {
150 const sinceStr = since ? new Date(since).toISOString() : 'all time';

Callers 1

printMarkdownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected