Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 1, 2024 via pnpm

progress 2.0.3

Flexible ascii progress bar
Package summary
Share
0
issues
1
license
1
MIT
Package created
20 Apr 2011
Version published
5 Dec 2018
Maintainers
4
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
progress@2.0.3
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of progress 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does progress do?

The progress npm package provides a flexible ASCII progress bar. It enhances user experience for console-based applications by visually tracking and displaying the progress of an ongoing operation.

How do you use progress?

progress can be installed via npm using the command npm install progress. After installation, you can create a ProgressBar by specifying a format string and a total count which is the complete count of operations. Further steps include calling the tick() function appropriately to increment the progress bar.

Here's a basic usage example:

var ProgressBar = require('progress');
var bar = new ProgressBar(':bar', { total: 10 });
var timer = setInterval(function () {
  bar.tick();
  if (bar.complete) {
    console.log('\ncomplete\n');
    clearInterval(timer);
  }
}, 100);

Besides, the progress package allows customization of the progress bar through various options and tokens. For example:

var bar = new ProgressBar(':current: :token1 :token2', { total: 3 })
bar.tick({
  'token1': "Hello",
  'token2': "World!\n"
})

This feature enables developers to provide detailed, real-time updates about the operation to users in an engaging fashion.

Where are the progress docs?

You can find the complete documentation for the progress package in the readme file at the GitHub repository: git://github.com/visionmedia/node-progress.git. The readme file includes detailed descriptions, code usage examples, options, tokens, and customization methods. Here you'll find all the required information to utilize this package in your project.