Progress BarProgress Bar

Progress Bar

Terminal progress bars with multiple styles and multi-bar support

A terminal progress bar library with multiple styles, gradient support, composite multi-bar rendering, and peak markers.

Features

  • 7 Built-in Styles - Classic, grey, rect, filled, solid, ASCII, braille
  • Multi-bar Support - Display multiple progress bars simultaneously
  • Composite Mode - Overlay multiple bars in a single visualization
  • Gradient Arrays - Smooth sub-character progress transitions
  • Peak Markers - Show peak values on the bar
  • Braille Pill Caps - Rounded pill-shaped bars with braille characters
  • Custom Formatting - Template-based output with payload placeholders
  • TypeScript - Full type support out of the box

Quick Example

import { ProgressBar } from "@visulima/progress-bar";

const bar = new ProgressBar({
    total: 100,
    style: "shades_classic",
});

console.log(bar.render()); // progress [░░░░░░░░░░░░░░░░░░░░] 0% | ETA: 0s | 0/100

bar.update(50);
console.log(bar.render()); // progress [██████████░░░░░░░░░░] 50% | ETA: ...

bar.update(100);
console.log(bar.render()); // progress [████████████████████] 100% | ETA: 0s | 100/100

Next Steps

Support

Contribute to our work and keep us going

Community is the heart of open source. The success of our packages wouldn't be possible without the incredible contributions of users, testers, and developers who collaborate with us every day.Want to get involved? Here are some tips on how you can make a meaningful impact on our open source projects.

Ready to help us out?

Be sure to check out the package's contribution guidelines first. They'll walk you through the process on how to properly submit an issue or pull request to our repositories.

Submit a pull request

Found something to improve? Fork the repo, make your changes, and open a PR. We review every contribution and provide feedback to help you get merged.

Good first issues

Simple issues suited for people new to open source development, and often a good place to start working on a package.
View good first issues