Simple JavaScript library for drawing ascii tables in the terminal / console
1–3 of 3 posts
Re: Simple JavaScript library for drawing ascii tables in the terminal / console
#2Simple solution and clear code
Re: Simple JavaScript library for drawing ascii tables in the terminal / console
#3I was looking for something like this a few weeks ago. I do think that documentation is always nice though, so maybe you should reconsider that.
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 :)