Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ruxe

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ruxe - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

examples/7_words_in_each_line.js

2

package.json
{
"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"]
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc