magiclogger - v0.1.0
    Preparing search index...

    Class TableFormatter

    Table formatting utilities for beautiful tables, boxes, and lists.

    Index

    Constructors

    Methods

    • Parameters

      • text: string
      • options: {
            border?: "single" | "double" | "rounded" | "heavy";
            borderColor?: string[];
            color?: string[];
            padding?: number;
        } = {}
      • useColors: boolean = true

      Returns string[]

    • Parameters

      • items: string[]
      • options: {
            bullet?: string;
            bulletColor?: string[];
            indent?: number;
            itemColor?: string[];
        } = {}
      • useColors: boolean = true

      Returns string[]

    • Parameters

      • char: string = '─'
      • width: number = 50
      • Optionalcolor: string[]
      • useColors: boolean = true

      Returns string