1.2.3 • Published 3 years ago

@master-chief/pretty-table v1.2.3

Weekly downloads
8
License
ISC
Repository
-
Last release
3 years ago

pretty-table

version language build prettier

Format data to a console friendly table.

Contents

Features

  • Extremely fast.
  • Prints your data to pretty tables.

Install

From NPM:

$ npm i @master-chief/pretty-table

Example

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

Contributing

Feel free to contribute and PR to your 💖's content.

1.2.3

3 years ago

1.2.0

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago