htmltablemaker
v1.0.4
Published
htmltablemaker is a ultralight and simple lib converting arrays of objects into string, formatted to html <table> node.
Downloads
3
Readme
htmltablemaker is a ultralight and simple lib converting arrays of objects into string, formatted to html node.
I made it to display SQL querrys results/routing tests.
If you test your DB fetching routes, you can convert result to send it in more human readable form.
Example
const express = require('express')
const tablemaker = require('./tablemaker')
const app = express()
app.get('/path/to/some/data', (req, res) => {
res.end(tablemaker.makeTable(data)
})