-
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.
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();
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.
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.
Related posts
-
What's a good way to deliver printable reports?
-
Hacktoberfest 2023 Recap
-
De HTML a PDF
-
Creating a PDF
-
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?