Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature suggestions #26

Open
Berkmann18 opened this issue May 8, 2019 · 4 comments
Open

Feature suggestions #26

Berkmann18 opened this issue May 8, 2019 · 4 comments

Comments

@Berkmann18
Copy link

This is a great tool which (in my opinion) is missing:

  • text alignment
  • multi-row/column cell spanning
  • having more border options
@m1nque
Copy link

m1nque commented Jun 12, 2019

I agree.
and one more, column size

@vassudanagunta
Copy link

@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.

@Berkmann18
Copy link
Author

@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.

@vassudanagunta
Copy link

vassudanagunta commented May 27, 2020

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants