Auto-fit console.table
npm install ut-function.console-tableAuto-fit console.table
ut-function.console-table uses console.table to show an array
as a table in the console. It will try to shrink or hide columns,
so that the output fits to the specified width.
``js
const table = require('ut-function.console-table');
table(params, options)
`
- param can be:array
- an object
- an with properties {rows, name}, where name will be shown in therows
console above the table specified with options
- is an optional parameter with properties:maxWidth
- - the maximum table widthmaxColWidth` - the maximum column width
-