I wanted to turn SVG files into PDFs in the browser without uploading them anywhere, and without rasterizing, so the result stays sharp when you zoom in. There are two realistic ways to do it client-side: svg2pdf. js on top of jsPDF, or the browser's own print-to-PDF.

Source: [Dev.to](https://dev.to/createsun/keeping-svg-vectors-when-exporting-to-pdf-svg2pdf-vs-print-to-pdf-408d)

Sponsored