Lesson

Convert SVG to a PDF in Node with PDFKit and SVG.js

I was recently given the task of generating Completion Certificates for Kent's Testing JavaScript course. We wanted the users to be able to print them at any size, so I took it upon myself to make sure that we used SVG rendered out in the PDF. This lesson...

Duration
6 min
Access
Free
Transcript
Available

I was recently given the task of generating Completion Certificates for Kent's Testing JavaScript course. We wanted the users to be able to print them at any size, so I took it upon myself to make sure that we used SVG rendered out in the PDF. This lesson walks through the process I used to tackle that problem and how Express can return a PDF from SVG in the response.