Y
Hacker News
new
|
ask
|
show
|
jobs
by
eberkund
2095 days ago
I used it for creating PDFs at my last job.
3 comments
digianarchist
2095 days ago
We've done this. You can run it in AWS lambda.
link
kypro
2093 days ago
Could someone elaborate? How does this work?
Do you create a HTML document then print the output as a PDF with headless Chrome?
link
eberkund
2090 days ago
Yes exactly, HTML document using whatever templating language you want (or even client-side JavaScript framework since Chrome can handle that too) and then output a PDF.
link
cjfont
2095 days ago
I use currently use puppeteer to do the same thing
link