source:
trip-planner-front/node_modules/text-table/example/align.js@
571e0df
Last change on this file since 571e0df was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 181 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 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.