1.0.4 • Published 3 years ago

not-a-progress-bar v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

How to use this

Usage:

await new progressBar(<bar_lenght>).create(<progress>, <end_value>, { gained: '■', remaining: '□' })

Example:

let bar = await new progressBar(10).create(50, 100, { gained: '■', remaining: '□' })

Little docs

  • progressBar()
    • lenght - Number - progress bar lenght
  • .create()
    • progress - Number - progress vaule of created bar
    • end - Number - maximum value of the progress bar
    • Body:
      • gained - String - single character, shows bar progress
      • remaining - String - single character, shows rest of progress bar
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago