data-table

simple html5 json powered data table component

Usage no npm install needed!

<script type="module">
  import dataTable from 'https://cdn.skypack.dev/data-table';
</script>

README

data-table

super simple html5 json powered data table component. inspired by google refine/reclinejs

npm install data-table

run the demo/hack on it

npm install
npm start

usage

var createTable = require('data-table')

var table = createTable(['a','b','c']) // headers

table.pipe(process.stdout)

table.write(['1', '2', '3']) // cells
table.write(['4', '5', '6']) // cells
table.end()

license

BSD