source:
trip-planner-front/node_modules/text-table/example/center.js
Last change on this file 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.