Skip to main content

4 posts tagged with "javascript"

View All Tags

Generate PDF Using PDF-lib in Node.js

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

Visual representation of PDF generation with PDF-lib in Node.js

For developers building Node.js applications, the ability to programmatically generate and modify PDFs is a powerful capability that opens up numerous possibilities for document automation. PDF‑lib is a pure JavaScript library for creating and modifying PDF documents. Unlike many alternatives, PDF-lib doesn't rely on native dependencies, making it lightweight and easy to integrate into any Node.js project. This guide will walk you through everything you need to know about generating PDFs using PDF-lib in Node.js applications.

How to Generate PDF in Node.js Using PDFKit

· 12 min read
Milena Szymanowska
Milena Szymanowska
PDFBolt Co-Founder
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Generate PDF in Node.js Using PDFKit

PDF (Portable Document Format) files remain a standard for sharing documents across different platforms and devices. For Node.js developers, PDFKit is a powerful library that allows you to generate PDFs programmatically with impressive flexibility and control. This comprehensive guide will walk you through everything you need to know about generating PDFs in Node.js using PDFKit.

Generate PDF Using PDFMake in Node.js

· 15 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.

Generate PDFs with jsPDF: A Complete Guide to Client-Side PDF Creation

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

Illustration of generating PDFs in the browser using jsPDF

Generating PDFs directly in the browser can significantly enhance user experience by delivering immediate, downloadable documents without server-side processing. This client-side approach reduces server load while enabling offline functionality and instant feedback for users. In this guide, we'll demonstrate how to create dynamic PDFs using jsPDF and html2canvas – ideal for applications where real-time document generation and personalization are essential, from invoices and certificates to reports and tickets.