MCPcopy Create free account
hub / github.com/NathanPB/progress.js / progress

Function progress

src/token.ts:41–42  ·  view source on GitHub ↗
(options: NumberFormat = {})

Source from the content-addressed store, hash-verified

39 formatNumber(bar.elapsedTime(until()) / interval, other)
40
41export const progress = (options: NumberFormat = {}): Token => bar =>
42 formatNumber(bar.progress() * 100, options)
43
44export const current = (options: NumberFormat = {}):Token => bar =>
45 formatNumber(bar.current, options)

Callers

nothing calls this directly

Calls 2

formatNumberFunction · 0.90
progressMethod · 0.65

Tested by

no test coverage detected