Search
Preparing search index...
The search index is not available
Colurs
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"colurs"
External module "colurs"
Index
Classes
Colurs
Instance
Variables
Colurs
DOT_
EXP
IS_
WIN_
TERM
PREFIX
instance
module
window
Functions
contains
contains
Any
create
Instance
get
is
Node
is
Plain
Object
is
Undefined
Object literals
DEFAULTS
level
Map
Variables
Const
Colurs
Colurs
:
IColursInstance
&
IColurs
= ColursInstance
Const
DOT_
EXP
DOT_
EXP
:
RegExp
= /\./g
Const
IS_
WIN_
TERM
IS_
WIN_
TERM
:
boolean
= process.platform === 'win32' && !(process.env.TERM || '').toLowerCase().beginsWith('xterm')
Const
PREFIX
PREFIX
:
"["
= "["
Let
instance
instance
:
IColurs
module
module
:
any
window
window
:
any
Functions
contains
contains
(
arr
:
string
[]
, val
:
string
)
:
string
Parameters
arr:
string
[]
val:
string
Returns
string
contains
Any
contains
Any
(
src
:
string
[]
, vals
:
string
[]
)
:
string
Parameters
src:
string
[]
vals:
string
[]
Returns
string
create
Instance
create
Instance
(
options
?:
IColurOptions
)
:
IColurs
Parameters
Optional
options:
IColurOptions
Returns
IColurs
Const
get
get
(
options
?:
IColurOptions
)
:
IColurs
Parameters
Optional
options:
IColurOptions
Returns
IColurs
is
Node
is
Node
(
)
:
boolean
Returns
boolean
is
Plain
Object
is
Plain
Object
(
val
:
any
)
:
boolean
Parameters
val:
any
Returns
boolean
is
Undefined
is
Undefined
(
val
:
any
)
:
boolean
Parameters
val:
any
Returns
boolean
Object literals
Const
DEFAULTS
DEFAULTS
:
object
ansi
Styles
ansi
Styles
:
object
= ANSI_STYLES
Type declaration
bg
Black
:
number
[]
bg
Black
Bright
:
number
[]
bg
Blue
:
number
[]
bg
Blue
Bright
:
number
[]
bg
Cyan
:
number
[]
bg
Cyan
Bright
:
number
[]
bg
Gray
:
number
[]
bg
Green
:
number
[]
bg
Green
Bright
:
number
[]
bg
Grey
:
number
[]
bg
Magenta
:
number
[]
bg
Magenta
Bright
:
number
[]
bg
Red
:
number
[]
bg
Red
Bright
:
number
[]
bg
White
:
number
[]
bg
White
Bright
:
number
[]
bg
Yellow
:
number
[]
bg
Yellow
Bright
:
number
[]
black
:
number
[]
black
Bright
:
number
[]
blue
:
number
[]
blue
Bright
:
number
[]
bold
:
number
[]
cyan
:
number
[]
cyan
Bright
:
number
[]
dim
:
number
[]
gray
:
number
[]
green
:
number
[]
green
Bright
:
number
[]
grey
:
number
[]
hidden
:
number
[]
inverse
:
number
[]
italic
:
number
[]
magenta
:
number
[]
magenta
Bright
:
number
[]
red
:
number
[]
red
Bright
:
number
[]
reset
:
number
[]
strikethrough
:
number
[]
underline
:
number
[]
white
:
number
[]
white
Bright
:
number
[]
yellow
:
number
[]
yellow
Bright
:
number
[]
browser
browser
:
false
= false
css
Styles
css
Styles
:
object
= CSS_STYLES
Type declaration
bg
Black
:
string
bg
Black
Bright
:
string
bg
Blue
:
string
bg
Blue
Bright
:
string
bg
Cyan
:
string
bg
Cyan
Bright
:
string
bg
Gray
:
string
bg
Green
:
string
bg
Green
Bright
:
string
bg
Grey
:
string
bg
Magenta
:
string
bg
Magenta
Bright
:
string
bg
Red
:
string
bg
Red
Bright
:
string
bg
White
:
string
bg
White
Bright
:
string
bg
Yellow
:
string
bg
Yellow
Bright
:
string
black
:
string
black
Bright
:
string
blue
:
string
blue
Bright
:
string
bold
:
string
cyan
:
string
cyan
Bright
:
string
dim
:
string
gray
:
string
green
:
string
green
Bright
:
string
grey
:
string
hidden
:
string
italic
:
string
magenta
:
string
magenta
Bright
:
string
red
:
string
red
Bright
:
string
strikethrough
:
string
underline
:
string
white
:
string
white
Bright
:
string
yellow
:
string
yellow
Bright
:
string
enabled
enabled
:
true
= true
Let
level
Map
level
Map
:
object
error
error
:
string
= "red"
info
info
:
string
= "cyan"
warn
warn
:
string
= "yellow"
Globals
"colurs"
"constants"
"extens"
"index"
"interfaces"
"test.spec"
Colurs
Instance
Colurs
DOT_
EXP
IS_
WIN_
TERM
PREFIX
instance
module
window
contains
contains
Any
create
Instance
get
is
Node
is
Plain
Object
is
Undefined
DEFAULTS
level
Map
Generated using
TypeDoc