Interface ChalkModule

Hierarchy

Index

Properties

Methods

Properties

public bgBlack: ChalkChain

public bgBlue: ChalkChain

public bgCyan: ChalkChain

public bgGreen: ChalkChain

public bgMagenta: ChalkChain

public bgRed: ChalkChain

public bgWhite: ChalkChain

public bgYellow: ChalkChain

public black: ChalkChain

public blue: ChalkChain

public bold: ChalkChain

public cyan: ChalkChain

public enabled: boolean

public gray: ChalkChain

public green: ChalkChain

public inverse: ChalkChain

public italic: ChalkChain

public magenta: ChalkChain

public red: ChalkChain

public reset: ChalkChain

public strikethrough: ChalkChain

public styles: ChalkStyleMap

public supportsColor: boolean

public underline: ChalkChain

public white: ChalkChain

public yellow: ChalkChain

Methods

public hasColor(str: string): boolean

Parameters

  • str: string

Returns

boolean

public stripColor(value: string): any

Parameters

  • value: string

Returns

any