Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/claude-code-best/claude-code
/ formatTokens
Function
formatTokens
src/utils/format.ts:133–135 ·
view source on GitHub ↗
(count: number)
Source
from the content-addressed store, hash-verified
131
}
132
133
export
function
formatTokens(count: number): string {
134
return
formatNumber(count).replace(
'.0'
,
''
)
135
}
136
137
type
RelativeTimeStyle =
'long'
|
'short'
|
'narrow'
138
Callers
14
format.test.ts
File · 0.90
ContextVisualization
Function · 0.85
IdleReturnDialog
Function · 0.85
ContextSuggestions
Function · 0.85
GoalPill
Function · 0.85
BuiltinStatusLineInner
Function · 0.85
AgentRow
Function · 0.85
renderSkillItem
Function · 0.85
getLargeToolSuggestion
Function · 0.85
checkReadResultBloat
Function · 0.85
checkMemoryBloat
Function · 0.85
createMicrocompactBoundaryMessage
Function · 0.85
Calls
1
formatNumber
Function · 0.85
Tested by
no test coverage detected