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

simple-terminal-color

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-terminal-color - npm Package Compare versions

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 @@

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