npm install --save csv-converter-to-pdf-and-html
const Converter = require("csv-converter-to-pdf-and-html")
const path = require("path")
const converter = new Converter()
const filePath = path.resolve("./users.csv") // Caminho completo
const destinationPath = path.resolve("./HTMLandPDF") // Aqui não precisa especificar a extensão (HTML or PDF)
converter.HTMLAndPDFConverter(filePath, destinationPath)
converter.HTMLConverter(filePath, destinationPath)
converter.PDFConverter(filePath, destinationPath)