source: trip-planner-front/node_modules/text-table/example/dotalign.js@ 76712b2

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

initial commit

  • Property mode set to 100644
File size: 208 bytes
RevLine 
[6a3a178]1var table = require('../');
2var t = table([
3 [ 'beep', '1024' ],
4 [ 'boop', '334.212' ],
5 [ 'foo', '1006' ],
6 [ 'bar', '45.6' ],
7 [ 'baz', '123.' ]
8], { align: [ 'l', '.' ] });
9console.log(t);
Note: See TracBrowser for help on using the repository browser.