MCPcopy Create free account
hub / github.com/ReactTooltip/react-tooltip / formatBytes

Function formatBytes

benchmarks/run-benchmark.mjs:96–98  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

94}
95
96function formatBytes(value) {
97 return typeof value === 'number' ? `${(value / 1024).toFixed(1)} KiB` : '—'
98}
99
100function buildMarkdownReport(result) {
101 const lines = [

Callers 1

buildMarkdownReportFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected