tocbot
Generate a table of contents based on the heading structure of a html document.
pdfly
Generate a pdf from html.
html-tag
Generate HTML elements from a javascript object.
pdf-puppeteer
A simple NPM package to convert html to pdf for Node applications by using Puppeteer