Skip to main content

5 posts tagged with "Node.js"

View All Tags

Generate PDF Using PDFMake in Node.js

· 19 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Node.js PDF generation using PDFMake - professional document examples created with JavaScript

PDF generation is a common requirement in many server-side applications, from creating invoices and reports to generating statements and certificates. Node.js, with its event-driven architecture and extensive ecosystem, is perfectly suited for handling PDF generation workflows. Among the various libraries available, PDFMake stands out as a robust, flexible, and feature-rich solution for PDF generation in Node.js applications. This comprehensive guide will walk you through everything you need to know about generating PDFs using PDFMake specifically in a Node.js environment, complete with practical examples and best practices.

Top HTML Template Engines

· 13 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

HTML to PDF - Template Engines

In the world of modern web development, creating dynamic, data-driven websites efficiently is a constant challenge. Template engines have emerged as a crucial tool in a developer's toolkit, streamlining the process of generating HTML content dynamically. This article explores what template engines are, how they work, their benefits, and the most popular options available today.

Top PDF Generation Libraries for Node.js in 2025

· 9 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

NPM Trends overview showing the download statistics for PDF generation libraries over the past 12 months

As we progress through 2025, the Node.js ecosystem continues to offer robust solutions for PDF generation. This article explores the most popular and powerful libraries available today, helping you make an informed decision for your next project. We provide detailed download statistics and simple code examples to give you insights into their real-world usage.

Generate PDFs in Node.js Using Puppeteer

· 9 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Illustration of generating PDF files in Node.js using Puppeteer

Generating invoice PDFs is a common requirement for web applications — whether for e-commerce, SaaS billing, or financial reporting. Puppeteer, a powerful headless browser automation tool for Node.js, makes it easy to convert HTML into high-quality PDFs. In this guide, we’ll walk you through setting up Puppeteer, designing an invoice with HTML and CSS, and generating a professional PDF.

How to Generate PDFs in 2025

· 13 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Illustration showcasing HTML to PDF conversion in 2025

Generating PDFs has become a crucial feature for many modern web applications, from creating invoices to producing complex data-driven reports. Over the years, various HTML to PDF tools have emerged, each with its own approach and capabilities. In this post, we’ll take a brief look at the evolution of PDF generation solutions — from wkhtmltopdf and PrinceXML (via DocRaptor) to Puppeteer and Playwright — and then walk through a short tutorial on using Playwright (Node.js) to generate a sample PDF in 2025.