import { cliffy } from "https://deno.land/x/alloy_folk@v1.1.1/deps.ts";
const { Table } = cliffy;
Table representation.
Properties
Methods
Enable/disable cell border.
Set border characters.
Read data from an array of json objects. An object represents a row and each property a column.
Check if table has border.
Get table indentation.
Get mac col widrth.
Get min col width.
Get cell padding.
Check if table bordy has border.
Check if table header or body has border.
Check if header row has border.
Set table indentation.
Set max col with.
Set min col width.
Set cell padding.
Write table to stdout.
Generate table string.
Static Methods
Set global default border characters.
Create a new table. If rows is a table, all rows and options of the table will be copied to the new table.
Create a new table from an array of json objects. An object represents a row and each property a column.