source:
frontend/node_modules/text-table/example/dotalign.js
| Last change on this file was 9af201e, checked in by , 11 days ago | |
|---|---|
|
|
| File size: 208 bytes | |
| Line | |
|---|---|
| 1 | var table = require('../'); |
| 2 | var t = table([ |
| 3 | [ 'beep', '1024' ], |
| 4 | [ 'boop', '334.212' ], |
| 5 | [ 'foo', '1006' ], |
| 6 | [ 'bar', '45.6' ], |
| 7 | [ 'baz', '123.' ] |
| 8 | ], { align: [ 'l', '.' ] }); |
| 9 | console.log(t); |
Note:
See TracBrowser
for help on using the repository browser.
