
Security News
Inside Lodash’s Security Reset and Maintenance Reboot
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.
@open-tech-world/cli-progress-bar
Advanced tools
Node.js CLI progress bar.
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();
pBar.run({value: 0, total: 100, prefix: 'Downloading'});
pBar.run({value: 50, total: 100, prefix: 'Downloading'});
pBar.run({value: 100, total: 100, prefix: 'Download Completed!'});
new ProgressBar(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. See the supported color names here. |
| autoClear | boolean | false | If true, then it auto clears the progress bar when it reaches 100%. |
run(options): void
Runs the current progress bar instance with the given values & options.
options:
| Name | Type | Default | Description |
|---|---|---|---|
| value | number | NaN | The current value of the progress bar. |
| total | number | NaN | The total value for 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. See 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.
The npm package @open-tech-world/cli-progress-bar receives a total of 2,606 weekly downloads. As such, @open-tech-world/cli-progress-bar popularity was classified as popular.
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
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.

Security News
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.