Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
96
function
formatBytes(value) {
97
return
typeof value ===
'number'
? `${(value / 1024).toFixed(1)} KiB` :
'—'
98
}
99
100
function
buildMarkdownReport(result) {
101
const
lines = [
Callers
1
buildMarkdownReport
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected