3

I want to convert html code to pdf file(on buffer). and then upload to s3 cloud.

found ways

  1. puppeteer <- it has chromium dependency issue, I can't use chromium with pm2
  2. pdfkit <- it doesn't support html convert.

That's all... is there any way?

dnfnfn1515
  • 31
  • 1

1 Answers1

0

I just found this node package: html-pdf. It seems to be working, but unfortunately it is marked as deprecated. Installing it with npm i was enough, no headless browsers needed.

Radu
  • 83
  • 1
  • 8