align.js 181 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 var table = require('../'); var t = table([ [ 'beep', '1024' ], [ 'boop', '33450' ], [ 'foo', '1006' ], [ 'bar', '45' ] ], { align: [ 'l', 'r' ] }); console.log(t);