Empty decoration lines will be skipped, to avoid vertical separator rows just
set the 'mid', 'left-mid', 'mid-mid', 'right-mid' to the empty string:
var table = new Table({ chars: {'mid': '', 'left-mid': '', 'mid-mid': '', 'right-mid': ''} });table.push( ['foo', 'bar', 'baz'], ['frobnicate', 'bar', 'quuz']);console.log(table.toString());// Outputs: (note the lack of the horizontal line between rows)//┌────────────┬─────┬──────┐//│ foo │ bar │ baz │//│ frobnicate │ bar │ quuz │//└────────────┴─────┴──────┘
By setting all chars to empty with the exception of 'middle' being set to a
single space and by setting padding to zero, it's possible to get the most
compact layout with no decorations: