New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@jrc03c/progress

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jrc03c/progress

makes a progress bar

latest
npmnpm
Version
0.0.9
Version published
Maintainers
1
Created
Source

progress is a little package that draws a progress bar when iterating over an array in Node. It's kind of like tqdm.

Install it:

npm install --save https://github.com/jrc03c/progress

Use it:

const progress = require("progress")
const x = [5, 4, 3, 2, 1]

progress(x).forEach(value => {
  // do something with `value`;
  // while that's happening,
  // you should see a progress
  // bar at the bottom of the
  // terminal!
})

You can also set the progress bar value manually by passing either a fraction from 0 to 1 or a numerator and denominator:

progress(0.5) // 50%
progress(30, 60) // 50%

FAQs

Package last updated on 24 Oct 2025

Did you know?

Socket

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.

Install

Related posts