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

7 lines
140 B
JavaScript

var table = require('../');
var t = table([
[ 'master', '0123456789abcdef' ],
[ 'staging', 'fedcba9876543210' ]
]);
console.log(t);