How to send a table in a sendGrid email

The pdfTable looked interesting, but have no idea how to implement it. I tried the sandbox in npm to test it out but every example I copy/paste’d failed for one reason or another. Seems like a huge learning curve.