odin-js-fundamentals-part-5/node_modules/text-table/example/doubledot.js

12 lines
206 B
JavaScript
Raw Permalink Normal View History

2024-01-11 08:52:05 +00:00
var table = require('../');
var t = table([
[ '0.1.2' ],
[ '11.22.33' ],
[ '5.6.7' ],
[ '1.22222' ],
[ '12345.' ],
[ '5555.' ],
[ '123' ]
], { align: [ '.' ] });
console.log(t);