Comparing version 1.0.11 to 1.0.12
{ | ||
"name": "ruxe", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"main": "src/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -34,3 +34,3 @@ <div align="center"> | ||
**Available Colors:** black, red, green, yellow, blue, magenta, cyan and white | ||
**Available Alignment Formats:** left, center and right | ||
**Available Alignment Formats:** left and right (Center will be added in the next version.) | ||
@@ -37,0 +37,0 @@ ## Example Usage |
@@ -30,3 +30,3 @@ /** | ||
if (_config.align && alignments.includes(_config.align.toLowerCase())) align = _config.align; | ||
if (_config.separateAt && _config.separateAt) separateAt = _config.separateAt; | ||
if (_config.separateAt) separateAt = _config.separateAt; | ||
@@ -38,3 +38,3 @@ return [ color, align, separateAt ]; | ||
let res = ""; | ||
let words = s.split(" "); | ||
let words = s.split(config.wordSeparater); | ||
@@ -82,2 +82,3 @@ for(var i = 0; i < words.length; i++) { | ||
} | ||
/* | ||
else if (p[1] == "center") { | ||
@@ -95,3 +96,3 @@ for(var i = 0; i < a.length; i++){ | ||
} | ||
*/ | ||
return s; | ||
@@ -98,0 +99,0 @@ } |
@@ -1,1 +0,1 @@ | ||
module.exports = ["right", "left", "center"] | ||
module.exports = ["right", "left"] |
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
8814
11
125