Generate a pdf from html.
npm install pdfly
const { promises: fs } = require("fs")
const pdfly = require(".")
const html = await fs.readFile("file.html", "utf8")
const pdf = await pdfly(html)
await fs.writeFile("output.pdf", pdf)
Type: string
The html to generate the pdf from.
Type: object