ascii-table icon indicating copy to clipboard operation
ascii-table copied to clipboard

Ascii Tables for JS

Results 23 ascii-table issues
Sort by recently updated
recently updated
newest added

This PR adds support for table rows with multiple lines of data (as mentioned in #20). Note that, given this, automatic line wrapping could easily be added with the use...

With a table like so: How can I handle spillover in the "Notes" column. Can this lib handle when a row is more than 1 line? I just tried some...

We're using this library in our tool-chain and having the alignment issues mentioned in #12. Fix here seems to work. No tests available so I can tell you it works...

Hi, I tried to use colors (I used gulp util which is using chalk) and it misaligned the values. I guess it's because of the extra characters for the color...

WARN engine [email protected]: wanted: {"node":"0.x"} (current: {"node":"5.4.1","npm":"3.3.12"}) can you update this? thanks :)

Whatever I try, I can't get it to work. I always get this error. Is this a problem with my code or the module/script?

In your last line, you pass 'this' context to a self-calling function. 'this' later gets used to append AsciiTable class to it. Normally, 'this' references the window object. Depending on...

Consider the following use case: - heading has 3 items - the only row in the table has 1 item In this case the table will only render a single...

The readme example includes a `----` style border below the header for `.removeBorder()`, but when I tried it, it seems to be removed as well: ``` js > console.log(new (require('ascii-table'))().setHeading('a',...

Remove: ``` js alignLeft(val, len, [pad]) alignCenter(val, len, [pad]) alignRight(val, len, [pad]) alignAuto(val, len, [pad]) setAlignLeft(idx) setAlignCenter(idx) setAlignRight(idx) setTitleAlignLeft() setTitleAlignCenter() setTitleAlignRight() setHeadingAlignLeft() setHeadingAlignCenter() setHeadingAlignRight() ``` None of the methods provide...