0.0.1 • Published 18 days ago

tablifier v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
18 days ago

Tablifier

Let's you create tables and convert them into strings.

Instalation

npm install tablifier

Usage

You can get a table by using the Table class.

import { Table } from 'tablifier'

const table = new Table()
table.addRow('This is the key', 'This is the value')

console.log(table.toString())
// output:
// ┌────────────────┬──────────────────┐
// │key             │value             │
// ├────────────────┼──────────────────┤
// │This is the key │This is the value │
// └────────────────┴──────────────────┘
0.0.1

18 days ago