New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

consolestylerc

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

consolestylerc

console rc style

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

console style rc

Simple cli styler

init

const styler = new (require('consolestylerc').base();

simple foreground color change

styler.style(
    'test red text',
    {
         'color':'red'
    }
);

simple foreground color change

styler.style(
    'test text with blue background',
    {
         'background':'blue'
    }
);

simple effect

styler.style(
    'blinking  test text',
    {
         'effect':'blink'
    }
);

simple multiple style

styler.style(
    'styled test text',
    {
         'color':'cyan',
         'background':'cyan',
         'effect':[
            'blink',
            'underline'
         ]
    }
);

supported styles

styleTypes
boldeffect
dimeffect
italiceffect
underlineeffect
blinkeffect
inverseeffect
hiddeneffect
strikethrougheffect
blackcolor,background
redcolor,background
greencolor,background
yellowcolor,background
bluecolor,background
cyancolor,background
whitecolor,background
greycolor

FAQs

Package last updated on 12 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts