multi-progress
This module adds a layer on top of the API of progress that allows for multiple progress bars.
Usage
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 libraryvar Multiprogress = ; // spawn an instance with the optional stream to write tovar multi = processstderr; // create a progress barvar bar = multi; // `bar` is an instance of ProgressBar// Use the progressbar API with it
More detailed usage examples are available in the following projects: