Single-Page PDF Export
Exports HTML documents and web pages into seamless, continuous single-page PDFs with auto-calculated height and zero browser headers or footers.
Single-Page PDF Export automates the conversion of local HTML documents and live web pages into continuous, single-page PDF files without pagination splits. By leveraging headless Chromium and Puppeteer, it dynamically measures rendered content height, normalizes responsive CSS viewport units (such as Tailwind's min-h-screen), disables transition animations, and strips default browser headers and footers to ensure clean, full-length visual exports for long-form content, digital invitations, and web captures.
Características Principales
01Includes programmatic page count validation using pdf-lib
02Prevents pagination breaks by freezing viewport-relative CSS rules like min-h-screen
03Removes default browser headers, footers, and margins automatically
04Supports both local HTML files with relative assets and remote URLs
05Calculates custom PDF dimensions dynamically based on rendered content height
062 GitHub stars
Casos de Uso
01Converting long landing pages and digital invitations into single continuous PDF files
02Exporting Tailwind CSS-styled web pages containing full-screen viewport layouts
03Archiving documentation and design mockups without awkward mid-content page breaks