simple-terminal-color
Advanced tools
Comparing version 1.0.0 to 1.0.1
50
index.js
const symbols = { | ||
ballotDisabled: '☒', | ||
ballotOff: '☐', | ||
ballotOn: '☑', | ||
bullet: '•', | ||
bulletWhite: '◦', | ||
fullBlock: '█', | ||
bulletOff: '◦', | ||
bulletOn: '•', | ||
radioOff: '◯', | ||
radioOn: '◉', | ||
starsOff: '☆', | ||
starsOn: '★', | ||
checkboxCross: '☒', | ||
checkboxEmpty: '☐', | ||
checkboxChecked: '☑', | ||
block: '█', | ||
heart: '❤', | ||
identicalTo: '≡', | ||
line: '─', | ||
@@ -14,12 +17,11 @@ mark: '※', | ||
minus: '-', | ||
plus: '+', | ||
plusMinus: '±', | ||
multiplication: '×', | ||
obelus: '÷', | ||
percent: '%', | ||
question: '?', | ||
pilcrow: '¶', | ||
plusMinus: '±', | ||
question: '?', | ||
section: '§', | ||
starsOff: '☆', | ||
starsOn: '★', | ||
upDownArrow: '↕', | ||
equal: '=', | ||
ballotCross: '✘', | ||
@@ -30,8 +32,6 @@ check: '✔', | ||
info: 'ℹ', | ||
questionFull: '?', | ||
question: '?', | ||
questionSmall: '﹖', | ||
pointer: '❯', | ||
pointerSmall: '›', | ||
radioOff: '◯', | ||
radioOn: '◉', | ||
warning: '⚠' | ||
@@ -86,12 +86,14 @@ }; | ||
white: white, | ||
bold: { | ||
white: function(val) {return bold(val)}, | ||
gray: function(val) {return gray(bold(val))}, | ||
error: function(val) {return error(bold(val))}, | ||
success: function(val) {return success(bold(val))}, | ||
warning: function(val) {return warning(bold(val))}, | ||
purple: function(val) {return purple(bold(val))}, | ||
pink: function(val) {return pink(bold(val))}, | ||
info: function(val) {return info(bold(val))}, | ||
bold: function() { | ||
return { | ||
white: function(val) {return white(bold(val))}, | ||
gray: function(val) {return gray(bold(val))}, | ||
error: function(val) {return error(bold(val))}, | ||
success: function(val) {return success(bold(val))}, | ||
warning: function(val) {return warning(bold(val))}, | ||
purple: function(val) {return purple(bold(val))}, | ||
pink: function(val) {return pink(bold(val))}, | ||
info: function(val) {return info(bold(val))}, | ||
} | ||
} | ||
} |
{ | ||
"name": "simple-terminal-color", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Simple Terminal Color (NodeJS,console.log)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -61,3 +61,3 @@ # simple-terminal-color | ||
// BOLD STYLE | ||
log.bold.error("Bold Error Text") | ||
log.bold().error("Bold Error Text") | ||
@@ -64,0 +64,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
3537
85