Simple JavaScript library for drawing ascii tables in the terminal / console Posted by hustcc on Friday October 14, 2016 @04:46AM from the github.com dept. https://github.com/hustcc/word-table ( 2 comments | 2 points | on HN )
Also the option to give an array of objects would be nice, so something like this:
var body = [ {id: "#1", name: "Harry"}, {id: "#2", name: "Sally"} ]
new WordTable(body);
would result in the object keys being used as headers... Just a suggestion :)