hexo/node_modules/text-table/example/doubledot.js

12 lines
206 B
JavaScript

var table = require('../');
var t = table([
[ '0.1.2' ],
[ '11.22.33' ],
[ '5.6.7' ],
[ '1.22222' ],
[ '12345.' ],
[ '5555.' ],
[ '123' ]
], { align: [ '.' ] });
console.log(t);