MCPcopy Create free account
hub / github.com/ScrapeGraphAI/just-scrape / elapsed

Function elapsed

src/lib/log.ts:12–15  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

10}
11
12function elapsed(ms: number): string {
13 if (ms < 1000) return `${ms}ms`;
14 return `${(ms / 1000).toFixed(1)}s`;
15}
16
17export function create(quiet = false) {
18 const s = p.spinner();

Callers 1

stopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected