
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
multi-progress
Advanced tools
This module adds a layer on top of the API of progress that allows for multiple progress bars.
Install with npm: npm install multi-progress
multi-progress@4
requires progress@2
as a peer dependency.
If you don't already have progress@2
as a dependency, add it like so: npm install progress@2
.
// require the library
var Multiprogress = require('multi-progress');
// spawn an instance with the optional stream to write to
var multi = new Multiprogress(process.stderr);
// create a progress bar
var bar = multi.newBar(' downloading [:bar] :percent :etas', {
complete: '=',
incomplete: ' ',
width: 30,
total: size
});
// `bar` is an instance of ProgressBar
// Use the progressbar API with it
More detailed usage examples are available in the following projects:
Version 4.0.0 (2020-10-14)
API changed back to work like v1/v2, no longer having the user pass in Progress to a builder.
Progress is still a peer dependency like with v3, so that users can pick the exact version of progress they wish to use.
FAQs
Multiple progress bars based on the "progress" package
We found that multi-progress 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.