MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / formatSecondsShort

Function formatSecondsShort

source code/utils/format.ts:32–34  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

30 * where the fractional second is meaningful (TTFT, hook durations, etc.).
31 */
32export function formatSecondsShort(ms: number): string {
33 return `${(ms / 1000).toFixed(1)}s`
34}
35
36export function formatDuration(
37 ms: number,

Callers 4

StopHookSummaryMessageFunction · 0.85
_temp3Function · 0.85
_temp2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected