1.0.0 • Published 6 years ago

tabulate-json v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

tabulate-json

Creates tables out of JSON data

Functionality

  • tabulate({ dataObject, tableOptions, shouldStyle = false }) - Return an array of arrays (representing the table rows) from a dataObject, configured using the tableOptions
  • markdownTable - Return the tabulated data as a Markdown table string
  • consoleTable - Return the tabulated data as a console table string