Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Chalk

Hierarchy

  • Chalk

Callable

  • __call(...text: string[]): string
  • __call(text: TemplateStringsArray, ...placeholders: string[]): string
  • __call(...text: string[]): string
  • __call(text: TemplateStringsArray, ...placeholders: string[]): string
  • __call(...text: string[]): string
  • __call(text: TemplateStringsArray, ...placeholders: string[]): string
  • __call(...text: string[]): string
  • __call(text: TemplateStringsArray, ...placeholders: string[]): string
  • __call(...text: string[]): string
  • __call(text: TemplateStringsArray, ...placeholders: string[]): string
  • __call(...text: string[]): string
  • __call(text: TemplateStringsArray, ...placeholders: string[]): string
  • __call(...text: string[]): string
  • __call(text: TemplateStringsArray, ...placeholders: string[]): string
  • Parameters

    • Rest ...text: string[]

    Returns string

  • Parameters

    • text: TemplateStringsArray
    • Rest ...placeholders: string[]

    Returns string

  • Parameters

    • Rest ...text: string[]

    Returns string

  • Parameters

    • text: TemplateStringsArray
    • Rest ...placeholders: string[]

    Returns string

  • Parameters

    • Rest ...text: string[]

    Returns string

  • Parameters

    • text: TemplateStringsArray
    • Rest ...placeholders: string[]

    Returns string

  • Parameters

    • Rest ...text: string[]

    Returns string

  • Parameters

    • text: TemplateStringsArray
    • Rest ...placeholders: string[]

    Returns string

  • Parameters

    • Rest ...text: string[]

    Returns string

  • Parameters

    • text: TemplateStringsArray
    • Rest ...placeholders: string[]

    Returns string

  • Parameters

    • Rest ...text: string[]

    Returns string

  • Parameters

    • text: TemplateStringsArray
    • Rest ...placeholders: string[]

    Returns string

  • Parameters

    • Rest ...text: string[]

    Returns string

  • Parameters

    • text: TemplateStringsArray
    • Rest ...placeholders: string[]

    Returns string

Index

Properties

bgBlack

bgBlack: this

bgBlackBright

bgBlackBright: this

bgBlue

bgBlue: this

bgBlueBright

bgBlueBright: this

bgCyan

bgCyan: this

bgCyanBright

bgCyanBright: this

bgGreen

bgGreen: this

bgGreenBright

bgGreenBright: this

bgMagenta

bgMagenta: this

bgMagentaBright

bgMagentaBright: this

bgRed

bgRed: this

bgRedBright

bgRedBright: this

bgWhite

bgWhite: this

bgWhiteBright

bgWhiteBright: this

bgYellow

bgYellow: this

bgYellowBright

bgYellowBright: this

black

black: this

blackBright

blackBright: this

blue

blue: this

blueBright

blueBright: this

bold

bold: this

constructor

constructor: ChalkConstructor

cyan

cyan: this

cyanBright

cyanBright: this

dim

dim: this

enabled

enabled: boolean

gray

gray: this

green

green: this

greenBright

greenBright: this

grey

grey: this

hidden

hidden: this

inverse

inverse: this

italic

italic: this

level

level: Level

magenta

magenta: this

magentaBright

magentaBright: this

red

red: this

redBright

redBright: this

reset

reset: this

strikethrough

strikethrough: this

underline

underline: this

visible

visible: this

white

white: this

whiteBright

whiteBright: this

yellow

yellow: this

yellowBright

yellowBright: this

Methods

bgHex

  • bgHex(color: string): this
  • bgHex(color: string): this
  • bgHex(color: string): this
  • bgHex(color: string): this
  • bgHex(color: string): this
  • bgHex(color: string): this
  • bgHex(color: string): this
  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

bgHsl

  • bgHsl(h: number, s: number, l: number): this
  • bgHsl(h: number, s: number, l: number): this
  • bgHsl(h: number, s: number, l: number): this
  • bgHsl(h: number, s: number, l: number): this
  • bgHsl(h: number, s: number, l: number): this
  • bgHsl(h: number, s: number, l: number): this
  • bgHsl(h: number, s: number, l: number): this
  • Parameters

    • h: number
    • s: number
    • l: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • l: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • l: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • l: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • l: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • l: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • l: number

    Returns this

bgHsv

  • bgHsv(h: number, s: number, v: number): this
  • bgHsv(h: number, s: number, v: number): this
  • bgHsv(h: number, s: number, v: number): this
  • bgHsv(h: number, s: number, v: number): this
  • bgHsv(h: number, s: number, v: number): this
  • bgHsv(h: number, s: number, v: number): this
  • bgHsv(h: number, s: number, v: number): this
  • Parameters

    • h: number
    • s: number
    • v: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • v: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • v: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • v: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • v: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • v: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • v: number

    Returns this

bgHwb

  • bgHwb(h: number, w: number, b: number): this
  • bgHwb(h: number, w: number, b: number): this
  • bgHwb(h: number, w: number, b: number): this
  • bgHwb(h: number, w: number, b: number): this
  • bgHwb(h: number, w: number, b: number): this
  • bgHwb(h: number, w: number, b: number): this
  • bgHwb(h: number, w: number, b: number): this
  • Parameters

    • h: number
    • w: number
    • b: number

    Returns this

  • Parameters

    • h: number
    • w: number
    • b: number

    Returns this

  • Parameters

    • h: number
    • w: number
    • b: number

    Returns this

  • Parameters

    • h: number
    • w: number
    • b: number

    Returns this

  • Parameters

    • h: number
    • w: number
    • b: number

    Returns this

  • Parameters

    • h: number
    • w: number
    • b: number

    Returns this

  • Parameters

    • h: number
    • w: number
    • b: number

    Returns this

bgKeyword

  • bgKeyword(color: string): this
  • bgKeyword(color: string): this
  • bgKeyword(color: string): this
  • bgKeyword(color: string): this
  • bgKeyword(color: string): this
  • bgKeyword(color: string): this
  • bgKeyword(color: string): this
  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

bgRgb

  • bgRgb(r: number, g: number, b: number): this
  • bgRgb(r: number, g: number, b: number): this
  • bgRgb(r: number, g: number, b: number): this
  • bgRgb(r: number, g: number, b: number): this
  • bgRgb(r: number, g: number, b: number): this
  • bgRgb(r: number, g: number, b: number): this
  • bgRgb(r: number, g: number, b: number): this
  • Parameters

    • r: number
    • g: number
    • b: number

    Returns this

  • Parameters

    • r: number
    • g: number
    • b: number

    Returns this

  • Parameters

    • r: number
    • g: number
    • b: number

    Returns this

  • Parameters

    • r: number
    • g: number
    • b: number

    Returns this

  • Parameters

    • r: number
    • g: number
    • b: number

    Returns this

  • Parameters

    • r: number
    • g: number
    • b: number

    Returns this

  • Parameters

    • r: number
    • g: number
    • b: number

    Returns this

hex

  • hex(color: string): this
  • hex(color: string): this
  • hex(color: string): this
  • hex(color: string): this
  • hex(color: string): this
  • hex(color: string): this
  • hex(color: string): this
  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

hsl

  • hsl(h: number, s: number, l: number): this
  • hsl(h: number, s: number, l: number): this
  • hsl(h: number, s: number, l: number): this
  • hsl(h: number, s: number, l: number): this
  • hsl(h: number, s: number, l: number): this
  • hsl(h: number, s: number, l: number): this
  • hsl(h: number, s: number, l: number): this
  • Parameters

    • h: number
    • s: number
    • l: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • l: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • l: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • l: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • l: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • l: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • l: number

    Returns this

hsv

  • hsv(h: number, s: number, v: number): this
  • hsv(h: number, s: number, v: number): this
  • hsv(h: number, s: number, v: number): this
  • hsv(h: number, s: number, v: number): this
  • hsv(h: number, s: number, v: number): this
  • hsv(h: number, s: number, v: number): this
  • hsv(h: number, s: number, v: number): this
  • Parameters

    • h: number
    • s: number
    • v: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • v: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • v: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • v: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • v: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • v: number

    Returns this

  • Parameters

    • h: number
    • s: number
    • v: number

    Returns this

hwb

  • hwb(h: number, w: number, b: number): this
  • hwb(h: number, w: number, b: number): this
  • hwb(h: number, w: number, b: number): this
  • hwb(h: number, w: number, b: number): this
  • hwb(h: number, w: number, b: number): this
  • hwb(h: number, w: number, b: number): this
  • hwb(h: number, w: number, b: number): this
  • Parameters

    • h: number
    • w: number
    • b: number

    Returns this

  • Parameters

    • h: number
    • w: number
    • b: number

    Returns this

  • Parameters

    • h: number
    • w: number
    • b: number

    Returns this

  • Parameters

    • h: number
    • w: number
    • b: number

    Returns this

  • Parameters

    • h: number
    • w: number
    • b: number

    Returns this

  • Parameters

    • h: number
    • w: number
    • b: number

    Returns this

  • Parameters

    • h: number
    • w: number
    • b: number

    Returns this

keyword

  • keyword(color: string): this
  • keyword(color: string): this
  • keyword(color: string): this
  • keyword(color: string): this
  • keyword(color: string): this
  • keyword(color: string): this
  • keyword(color: string): this
  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

  • Parameters

    • color: string

    Returns this

rgb

  • rgb(r: number, g: number, b: number): this
  • rgb(r: number, g: number, b: number): this
  • rgb(r: number, g: number, b: number): this
  • rgb(r: number, g: number, b: number): this
  • rgb(r: number, g: number, b: number): this
  • rgb(r: number, g: number, b: number): this
  • rgb(r: number, g: number, b: number): this
  • Parameters

    • r: number
    • g: number
    • b: number

    Returns this

  • Parameters

    • r: number
    • g: number
    • b: number

    Returns this

  • Parameters

    • r: number
    • g: number
    • b: number

    Returns this

  • Parameters

    • r: number
    • g: number
    • b: number

    Returns this

  • Parameters

    • r: number
    • g: number
    • b: number

    Returns this

  • Parameters

    • r: number
    • g: number
    • b: number

    Returns this

  • Parameters

    • r: number
    • g: number
    • b: number

    Returns this

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method