Skip to content

ProgressOptions ​

Options for Out.progress.

Signatures ​

ts
interface ProgressOptions {}

Members ​

Properties ​

concurrent ​

Render alongside other concurrent activities instead of replacing them.

ts
concurrent?: boolean;

total ​

Total units of work. When provided, the bar shows a determinate percentage. When omitted, the bar pulses in indeterminate mode.

ts
total?: number;

label ​

Label displayed alongside the progress bar.

ts
label?: string;

fallback ​

Fallback strategy when !isTTY or jsonMode.

ts
fallback?: Fallback;

See Also ​

Released under the MIT License.