Sha256: 908f7894264c2a03b88c4844dd8ed9124a57d2b2d99fe1a076dee2656d956bfa
Contents?: true
Size: 766 Bytes
Versions: 19
Compression:
Stored size: 766 Bytes
Contents
/** * Module requirements. */ // this line is only needed if you refuse to use npm require.paths.unshift(__dirname + '/../support/colors'); var Table = require('../lib/cli-table'); /** * Example. */ var table = new Table({ head: ['First', 'Last', 'Email', 'Twitter'] , chars: { 'top': '-' , 'top-mid': '-' , 'top-left': '-' , 'top-right': '-' , 'bottom': '-' , 'bottom-mid': '-' , 'bottom-left': '-' , 'bottom-right': '-' , 'left': '|' , 'left-mid': '|' , 'mid': '-' , 'mid-mid': '-' , 'right': '|' , 'right-mid': '-' } , colWidths: [14, 10, 25, 17] }); table.push( ['Guillermo', 'Rauch', 'rauchg@gmail.com', 'rauchg'] ); console.log(table.toString());
Version data entries
19 entries across 19 versions & 1 rubygems