JSPM

console-table

0.1.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 77
  • Score
    100M100P100Q87538F
  • License BSD

output table style log.

Package Exports

  • console-table

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (console-table) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

console-table

output table style log.

install

from npm

npm install console-table

from github

git clone git://github.com/fnobi/console-table.git

usage

var consoleTable = require('console-table');

consoleTable([
  ['', 'col1', 'col2', 'col3'],
  ['row1', 'aa', 'bbbbbb', 'ccc'],
  ['row2', 'dddd', 'eeeeeeeee', 'fffff'],
  ['row3', 'g', 'hhhh', 'iiiiii']
]);

/*
=>
     col1 col2      col3
row1 aa   bbbbbb    ccc
row2 dddd eeeeeeeee fffff
row3 g    hhhh      iiiiii

*/