console-progress-bar
Advanced tools
Comparing version 1.0.6 to 1.0.7
20
app.js
@@ -19,5 +19,9 @@ // Import. | ||
* Console progress bar constructor. | ||
* @param {object} [options] - Options. | ||
* @param {number} [options.maxValue] - Max value. | ||
* @param {number} [options.charsLength] - Chars length. | ||
* @param {object} [options] Options. | ||
* @param {number} [options.maxValue] Max value. Default is 100. | ||
* @param {string} [options.startChars] Start chars. | ||
* @param {string} [options.endChars] End chars. | ||
* @param {string} [options.notFilledPartChars] Not filled part chars. | ||
* @param {string} [options.filledPartChars] Filled part chars. | ||
* @param {number} [options.charsLength] Chars length. | ||
*/ | ||
@@ -77,3 +81,3 @@ constructor(options = {}) { | ||
* Set value. | ||
* @param {number} [value] - Value. | ||
* @param {number} [value] Value. | ||
*/ | ||
@@ -96,3 +100,3 @@ setValue(value = this.value) { | ||
* Add value. | ||
* @param {number} [value] - Value. | ||
* @param {number} [value] Value. | ||
*/ | ||
@@ -119,5 +123,5 @@ addValue(value = 1) { | ||
* Add color. | ||
* @param {string} progressBarString - Progress bar string. | ||
* @param {number} percent - Percent. | ||
* @returns {string} | ||
* @param {string} progressBarString Progress bar string. | ||
* @param {number} percent Percent. | ||
* @returns {string} Progress bar string with color. | ||
*/ | ||
@@ -124,0 +128,0 @@ function addColor(progressBarString, percent) { |
{ | ||
"name": "console-progress-bar", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Console progress bar", | ||
@@ -29,4 +29,4 @@ "main": "app.js", | ||
"devDependencies": { | ||
"eslint": "^7.21.0" | ||
"eslint": "^8.31.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7070
130