MCPcopy Create free account
hub / github.com/NathanPB/progress.js / multi-simple.ts

File multi-simple.ts

docs/example/multi-simple.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import {Events, initMultiBar, ProgressBar, Tokens} from "@nathanpb/progress";
2
3const bar1 = new ProgressBar({ total: 100, title: 'Bar 1' })
4const bar2 = new ProgressBar({ current: 50, total: 300, title: 'Bar Foo' })

Callers

nothing calls this directly

Calls 5

initMultiBarFunction · 0.85
tickMethod · 0.80
etaMethod · 0.65
elapsedTimeMethod · 0.65
progressMethod · 0.65

Tested by

no test coverage detected