source:
imaps-frontend/node_modules/text-table/example/align.js@
d565449
Last change on this file since d565449 was d565449, checked in by , 4 weeks ago | |
---|---|
|
|
File size: 181 bytes |
Line | |
---|---|
1 | var table = require('../'); |
2 | var t = table([ |
3 | [ 'beep', '1024' ], |
4 | [ 'boop', '33450' ], |
5 | [ 'foo', '1006' ], |
6 | [ 'bar', '45' ] |
7 | ], { align: [ 'l', 'r' ] }); |
8 | console.log(t); |
Note:
See TracBrowser
for help on using the repository browser.