Skip to content

PLASMAchicken/percentagebar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

percentagebar

Example

const percentagebar = require('percentagebar')
percentagebar(10, 5); // returns ==> '[▓▓▓▓▓░░░░░] 50%'

Example

Documentation

statusbar(full, curr, [length], [highChar], [lowChar], [openingChar], [closingChar], [addPercent]) ⇒ string

Function to return a process Bar.

Kind: global function
Returns: string - - Process Bar.

Param Type Default Description
full number Full Value.
curr number Current Value.
[length] number 10 Length of the Process Bar.
[highChar] string "▓" Char to use when prercent high.
[lowChar] string "░" Char to use when percent low.
[openingChar] string "[" Char to use to open percentage Bar.
[closingChar] string "]" Char to use to close percentage bar.
[addPercent] boolean true Option to add Percent after Bar. : [▓▓] 100%.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published