UNPKG

@juparog/print-table

Version:

print-table is a simple library that allows you to print beautiful and customizable tables in the console using ANSI escape codes. It is ideal for displaying tabular data in a clear and visually appealing way.

8 lines (7 loc) 610 B
import { AlignmentText, BOLD_MODE, BgColor, BrightBgColor, BrightForegroundColor, FAINT_MODE, ForegroundColor, HIDDEN_MODE, INVERSE_MODE, ITALICIZE_MODE, RAPID_BLINK_MODE, SLOW_BLINK_MODE, STRIKE_THROUGH_MODE, UNDERLINE_MODE } from './constants'; import { ConsoleTable } from './print-table'; export * from './themes'; export * from './types'; export { BOLD_MODE, FAINT_MODE, HIDDEN_MODE, INVERSE_MODE, ITALICIZE_MODE, RAPID_BLINK_MODE, SLOW_BLINK_MODE, STRIKE_THROUGH_MODE, UNDERLINE_MODE, }; export { AlignmentText, BgColor, BrightBgColor, BrightForegroundColor, ForegroundColor, }; export { ConsoleTable };