source: trip-planner-front/node_modules/text-table/example/center.js@ 6fe77af

Last change on this file since 6fe77af was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 221 bytes
Line 
1var table = require('../');
2var t = table([
3 [ 'beep', '1024', 'xyz' ],
4 [ 'boop', '3388450', 'tuv' ],
5 [ 'foo', '10106', 'qrstuv' ],
6 [ 'bar', '45', 'lmno' ]
7], { align: [ 'l', 'c', 'l' ] });
8console.log(t);
Note: See TracBrowser for help on using the repository browser.