easy-table
easy-table copied to clipboard
Feature suggestions
This is a great tool which (in my opinion) is missing:
- text alignment
- multi-row/column cell spanning
- having more border options
I agree. and one more, column size
@Berkmann18 @m1nque text aligment and column size are completely under your control by using a printer
. See the How it works section of the README.
@vassudanagunta I noticed the one with padLeft
but there's nothing on centre alignment.
As for the other 2 I mentioned, there's still no ways.
@Berkmann18 You aren't limited to using the built-in printers. you can code your own centre alignment printer in probably 3-5 lines of code.
Three are many other table printers. This one is clearly meant to be simple and for single line rows. There's no point in complicating it when the complicated ones (i.e. not named "easy-table") already exist. There are many, at least 20 if not 50 on npmjs.com. For example: https://www.npmjs.com/package/table.
I chose easy-table precisely because I didn't want all that. I'm easy-table the way it is exists as a quality alternative to those. And I also have a feeling the author has other priorities. It's been over 2 years. It would be a lot of work for no good reason (because more fancy and complicated solutions already exist). As a simple "easy table", it isn't "missing" a thing. Of course if you disagree, it's easy enough to fork!