G
G
gallantalex2017-10-20 11:45:35
Node.js
gallantalex, 2017-10-20 11:45:35

How to do dynamic PDF generation in NodeJS?

There is a task - to make pdf generation on NodeJS. So far, I have found a variant that takes input text from a specific html file and builds a pdf based on it. But I need to generate pdf with different parameters - which the client will send me. And it turns out that I need to create an html file, first write everything into it, save it all and then give it to pdf

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2017-10-20
@boratsagdiev

pdfkit.org - library for generating
https://github.com/alvarcarto/url-to-pdf-api - converting url to pdf as a microservice

D
deemaagog, 2017-10-20
@deemaagog

search npm for "pdf"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question