npm install --save sgr-composer
import SGRcomposer from 'sgr-composer'
A representation of an in/out SGR code pair.
Type: object
Style declaration
Type: object
Set a style object/
Object
:
In and Out SGR parts
A Class for composing various SGR codes.
Type: SGRcomposer
Get the current color depth.
number
:
0: no color, 1: 16 colors, 2: 256 colors, 3: 16m colors
Set the current color
Set the current style