tty-table
tty-table copied to clipboard
Terminal table for Windows, Linux, and MacOS. Written in nodejs. Also works in browser console. Word wrap, padding, alignment, colors, Asian character support, per-column callbacks, and you can pass r...
# Problem Summary I am trying to align a footer cell to right. ## Expected Result (screen shot if possible) ## Actual Result (screen shot if possible) ## Environment Information...
# Problem Summary I'm using a formatter function to add 'USD' to a money amount. The automatic column width is determined by the value before the formatter instead of the...
# Problem Summary If any column width is evaluated to float, `RangeError` will be thrown on that line: ```javascript let emptySpace = columnWidth - lineLength const padRemainder = emptySpace %...
Suggested fix for #94
# Problem Summary ``` node_modules/tty-table/src/format.js:172 + Array(padBoth + 1 + padRemainder).join(" ") ^ RangeError: Invalid array length at /node_modules/tty-table/src/format.js:172:15 at Array.map () at module.exports.wrapCellText (/node_modules/tty-table/src/format.js:156:35) at module.exports.buildCell (/node_modules/tty-table/src/render.js:287:39) at /node_modules/tty-table/src/render.js:171:26...