JSPM

progress-barzz

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q43592F
  • License MIT

A simple textual progress bar for javascript

Package Exports

  • progress-barzz

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (progress-barzz) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

progress-barzz

A simple textual progress bar with a time estimation.

Build Status

let barGenerator = new Progress(maxTicks);
console.log(barGenerator.tick());

Installing

$ npm install --save progress-barzz

Demo output example

1/5 ######------------------------ 20% 2s/tick ETA:Nov 27, 2020 12:31 AM
2/5 ############------------------ 40% 2s/tick ETA:Nov 27, 2020 12:31 AM
3/5 ##################------------ 60% 2s/tick ETA:Nov 27, 2020 12:31 AM
4/5 ########################------ 80% 2s/tick ETA:Nov 27, 2020 12:31 AM
5/5 ############################## 100% 2s/tick ETA:Nov 27, 2020 12:31 AM

Tests

$ npm test

Contributing

Contributions, requests or pull requests are welcome & appreciated!

Send me an email if you have questions regarding possible contributions.

License

MIT