What's the best way to generate a PDF from html in deno?

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

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.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • deno-puppeteer

    A port of puppeteer running on Deno

  • import puppeteer from "https://deno.land/x/[email protected]/mod.ts"; const browser = await puppeteer.launch(); const page = await browser.newPage(); await page.goto("https://news.ycombinator.com", { waitUntil: "networkidle2", }); await page.pdf({ path: "hn.pdf", format: "A4" }); await browser.close();

  • jsPDF

    Client-side JavaScript PDF generation for everyone.

  • There are actually multiple pure JS packages for creating PDFs. Some of them even work in the browser, like https://github.com/parallax/jsPDF and https://react-pdf.org/. I'm not sure if these can be easily made to work in Deno though as I've never tried.

  • 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

  • There are actually multiple pure JS packages for creating PDFs. Some of them even work in the browser, like https://github.com/parallax/jsPDF and https://react-pdf.org/. I'm not sure if these can be easily made to work in Deno though as I've never tried.

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

  • What's a good way to deliver printable reports?

    3 projects | /r/sveltejs | 6 Aug 2022
  • Hacktoberfest 2023 Recap

    10 projects | dev.to | 27 Oct 2023
  • De HTML a PDF

    2 projects | dev.to | 7 Nov 2022
  • Creating a PDF

    2 projects | /r/sveltejs | 2 Aug 2022
  • I need to be able to save some HTML+CSS content as a PDF. Currently opening a new tab with only that content, then using the Print to PDF option, which works fine, but I want to offer a more native "Save as PDF" option. Any recommendations that don't cost an arm and leg?

    2 projects | /r/Frontend | 12 Dec 2021