source:
trip-planner-front/node_modules/text-table/example/center.js@
76712b2
Last change on this file since 76712b2 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 221 bytes |
Line | |
---|---|
1 | var table = require('../'); |
2 | var t = table([ |
3 | [ 'beep', '1024', 'xyz' ], |
4 | [ 'boop', '3388450', 'tuv' ], |
5 | [ 'foo', '10106', 'qrstuv' ], |
6 | [ 'bar', '45', 'lmno' ] |
7 | ], { align: [ 'l', 'c', 'l' ] }); |
8 | console.log(t); |
Note:
See TracBrowser
for help on using the repository browser.