Interface BoxOptions

Describes the details of the box.

interface BoxOptions {
    color?: StringTransformer;
    input: string[];
    sizer?: Sizer;
    style?: BoxStyle;
    title?: string;
    width: number;
}

Properties

A colorizer that adds unrendered elements to the box elements after calculation.

input: string[]

The lines rendered in the box.

sizer?: Sizer

The sizer for any unrendered elements.

style?: BoxStyle

The box style.

title?: string

The title of the box.

width: number

The external width of the box.