Often I need to create tables in my projects that print out pretty tables on the console. I also may need this to create "text" versions of tables while sending out emails to client.
A good way to achieve that is using LearnBoost/cli-table.
Here is a quick demonstration of it.
More options are available at: