MCPcopy Index your code
hub / github.com/codeaashu/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
133export function formatTokens(count: number): string {
134 return formatNumber(count).replace('.0', '')
135}
136
137type RelativeTimeStyle = 'long' | 'short' | 'narrow'
138

Callers 15

ContextVisualizationFunction · 0.85
_temp27Function · 0.85
_temp26Function · 0.85
_temp24Function · 0.85
_temp23Function · 0.85
_temp21Function · 0.85
_temp20Function · 0.85
_temp16Function · 0.85
_temp14Function · 0.85
_temp13Function · 0.85
_temp1Function · 0.85
IdleReturnDialogFunction · 0.85

Calls 1

formatNumberFunction · 0.85

Tested by

no test coverage detected