All Questions

Design Coding

Do you know some of them and have experience?

Hi

I’m looking for the fastest solution to generate images from HTML in Node.js.

I found these libraries: https://www.npmjs.com/package/html-to-image and https://www.npmjs.com/package/node-html-to-image

My requirements are:

• Dynamic font changing

• Export to png, svg

• Would be nice to work also in browser, but not necessary

• Support for variables using {{}} syntax is plus

author Dobroslav Radosavljevič

Reply
1 Answers

Probably the puppeteer/chromium based solution delivers better values. That’s why I went with node-html-to-image. Although for being sure: just do a benchmark comparing the results for both

writen by Benedikt

Do you want to ask a question?


Related Questions