top | item 12706828 Simple JavaScript library for drawing ascii tables in the terminal / console 2 points| hustcc | 9 years ago |github.com 2 comments order hn newest EJTH|9 years ago I 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 :) cZuLi|9 years ago Simple solution and clear code
EJTH|9 years ago I 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 :)
EJTH|9 years ago
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 :)
cZuLi|9 years ago