An example of a table in html
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
let bodyHtml = `
A basic HTML table
Person |
Cool Rate |
Why |
Rold |
98.5% Cool |
Cuz rold made this |
Also Rold |
111.9% Cool |
cuz i made this |
my dog |
112.43% Cool |
my dog is cute |
`;
return {
statusCode: 200,
headers: {
'Content-Type': 'text/html',
},
body: bodyHtml,
};