Home

Awesome

terminal-table

View a table in the terminal

screenshot

Features

Installation

$ npm i terminal-table

Usage

var Table = require("terminal-table");
var t = new Table();

t.push(
  ["First", "Second"],
  ["Foo", "Bar"]
);

console.log("" + t);

API

Constructor options

new Table({
  width: [10, "50%", "50%"]
});

Methods