spork/misc/print-table
spork
function
/usr/local/lib/janet/spork/misc.janet on line 139, column 1
(print-table data &opt columns header-mapping column-mapping)
Iterate through the rows of a data structure and print a table in a
human readable way, with padding and heading information. Can
optionally provide a function used to print a row, as well as
optionally select column keys for each row. Lastly, a
`header-mapping` dictionary can be provided that changes the
printed header names by mapping column keys to the desired header
name. If no mapping is found, then the column key will be used as
the header name. Returns nil.