Reputation: 61
I'm looking for a node.js module, which is able to generate PDF from HTML.
I know there are many options e.g. phantomjs, wkhtmltopdf. All this utilities require some command line tools.
I need something, that is easy to install (only npm install xxx
) and is ready for use. I also don't want to call it by requests (REST API). Do anybody know something?
Thanks in advance.
Upvotes: 4
Views: 8821
Reputation: 4847
You might want to give pdfkitjs or pdfmake a try. Both the projects are available as npm modules and are pretty well documented on github.
Upvotes: 4