1.3.0 • Published 6 years ago

node-progress-bar v1.3.0

Weekly downloads
273
License
ISC
Repository
github
Last release
6 years ago

Coverage Status Build Status npm version

Ever wanted to print the progress of a loop you are running, but not clutter up your console?

Maybe you are updating a large batch of documents in your database, that requires you to iterate over them?

Printing the progress has never been easier! Node-progress-bar makes this easy!

How to use:

 npm install --save-dev node-progress-bar 

or

 yarn add node-progress-bar --dev 

at the top of your node file, add: const progressBar = require('node-progress-bar');

then call the function in your operation!

const test = (i) => {
  if (i <= 100) {
    setTimeout(() => {
      print(i, 100);
      test(i += 1);
    }, 50);
  }
}
test(0);

It's that simple!

Coming soon... 1. custom print messages 2. progress animations 3. progress bar customizations 4. your suggestions!

Thanks for checking out node-progress-bar!

1.3.0

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.0.0

6 years ago