
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
@open-tech-world/cli-progress-bar
Advanced tools
Node.js CLI progress bar.
Internally it uses @open-tech-world/es-cli-styles for terminal colors. Refer it for supported colors.
Using npm
$ npm install @open-tech-world/cli-progress-bar
Using Yarn
$ yarn add @open-tech-world/cli-progress-bar
import { ProgressBar } from '@open-tech-world/cli-progress-bar';
const pBar = new ProgressBar({ prefix: 'Downloading' });
pBar.run({ value: 0, total: 100 });
pBar.run({ value: 50, total: 100 });
pBar.run({ value: 100, total: 100, prefix: 'Download Completed!' });
new ProgressBar(options?: Partial<IOptions>)
It creates a new instance of the ProgressBar.
options:
| Name | Type | Default | Description |
|---|---|---|---|
| stream | NodeJS.WriteStream | process.stderr | The stream to use. |
| width | number | 30 | The size of the progress bar. |
| prefix | string | '' | The string to be prefixed progress bar. |
| suffix | string | '' | The string to be suffixed progress bar. |
| color | string | 'green' | The color to render the progress bar. Refer the supported color names here. |
| autoClear | boolean | false | If true, then it auto clears the progress bar when it reaches 100%. |
run(options: IRunOptions): void
Runs the current progress bar instance with the given values & options.
options:
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| value | number | NaN | Yes | The current value of the progress bar. |
| total | number | NaN | Yes | The total value for the progress bar. |
| prefix | string | '' | No | The string to be prefixed progress bar. |
| suffix | string | '' | No | The string to be suffixed progress bar. |
| color | string | 'green' | No | The color to render the progress bar. Refer the supported color names here. |
stop(clear = false): void
Stops the current progress bar instance with the current state and optionally clears the progress bar.
pBar.stop(); // It just stops the progress bar.
pBar.stop(true); // It stops & removes the progress bar.
Copyright (c) 2021, Thanga Ganapathy (MIT License).
FAQs
Node.js CLI progress bar.
We found that @open-tech-world/cli-progress-bar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.