Is node the right choice for HTML to PDF conversion?

This page summarizes the projects mentioned and recommended in the original post on /r/node

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • satori

    Enlightened library to convert HTML and CSS to SVG

  • You should check out Vercel's Satori package. You can generate SVGs from JSX without a chromium instance. Pair that with something like https://github.com/yWorks/svg2pdf.js/ and you might be onto something.

  • svg2pdf.js

    A javascript-only SVG to PDF conversion utility that runs in the browser. Brought to you by yWorks - the diagramming experts

  • You should check out Vercel's Satori package. You can generate SVGs from JSX without a chromium instance. Pair that with something like https://github.com/yWorks/svg2pdf.js/ and you might be onto something.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • react-pdf

    📄 Create PDF files using React

  • Checkout https://react-pdf.org

  • pdfmake

    Client/server side PDF printing in pure JavaScript

  • PDFmake or pdf-lib would be the way to go in my opinion.

  • pdf-lib

    Create and modify PDF documents in any JavaScript environment

  • PDFmake or pdf-lib would be the way to go in my opinion.

  • pdfjs

    A Portable Document Format (PDF) generation library targeting both the server- and client-side.

  • pdfjs was pretty good when I used it https://github.com/rkusa/pdfjs

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts