table
ASCII table renderer for terminal output. Define headers, add rows, and print formatted box-drawing tables.
Install
ppm install table
Usage Example
uses table;
var t := Create(['Package', 'Version', 'Downloads']);
AddRow(t, ['http-client', '1.0.0', '1,234']);
AddRow(t, ['json-parser', '1.0.0', '987']);
AddRow(t, ['redis', '1.0.0', '432']);
// Print to stdout
Print(t);
// Get as string for file output
var txt := Render(t);
file_utils.WriteFile('report.txt', txt);
Features
Auto column width calculation
Box-drawing border characters
Markdown table style option
Left/right/center alignment
Render() to string or Print() to stdout