utftables

Tiny utility module for outputting barebones table-formatted arrays for CLI tools with no dependencies.

Usage no npm install needed!

<script type="module">
  import utftables from 'https://cdn.skypack.dev/utftables';
</script>

README

tiny table tool

table

const table = require('utftables');

let collection = [
  {name: 'foo', test: 'whatever', int: 42},
  {name: 'foo', test: 'whatever', int: 42},
  {name: 'foo', test: 'whatever', int: 42},
  {name: 'foo', test: 'whatever', int: 42}
];
table(collection);