color-header

1.0.1 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i color-header

      Weekly Downloads

      3

      Version

      1.0.1

      License

      BSD-2-Clause

      Unpacked Size

      56.8 kB

      Total Files

      5

      Last publish

      Collaborators

      • linuxenko