Format data to a console friendly table.
- Extremely fast.
- Prints your data to pretty tables.
From NPM:
$ npm i @master-chief/pretty-table
import pretty from '@master-chief/pretty-table'
let data = [
{ name: 'cosmo', animal: 'cat', age: 12 },
{ name: 'mabel', animal: 'dog', age: 18 },
]
console.log(pretty(data))
The above code will output a formatted (and pretty 😍) table.
name animal age
cosmo cat 12
mabel dog 18
Feel free to contribute and PR to your 💖's content.