Socket
Book a DemoInstallSign in
Socket

color-header

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

color-header

A bunch of console colors for terminal output. Port of the entire "Escape-Sequence-Color-Header" to javascript with no dependencies.

1.0.1
latest
Source
npmnpm
Version published
Weekly downloads
3
200%
Maintainers
1
Weekly downloads
 
Created
Source

Color-Header

A bunch of console colors for coloring terminal output. Port of the entire "Escape-Sequence-Color-Header" to javascript with no dependencies.

Usage

Text Attribute Options:

ATTRIBUTES_OFF, BOLD, UNDERSCORE, BLINK, REVERSE_VIDEO, CONCEALED

Color Options:

BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE

Format:

General Format, include value you want in $variable$

  COLOR_$Foreground Color$_$Background Color$
  COLOR_$Text Attribute$_$Foreground Color$_$Background Color$
  COLOR_NORMAL  // To set color to default

e.g.

  COLOR_BLUE_BLACK // Leave Text Attribute Blank if no Text Attribute appied
  COLOR_UNDERSCORE_YELLOW_RED
  COLOR_NORMAL

Screenshot of very small part of available colors

screenshot

License

BSD 2-Clause, The original Escape-Sequence-Color-Header.h

Keywords

terminal

FAQs

Package last updated on 02 Nov 2019

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.