tinypdf: A 400-line, zero-dependency PDF library that's 70x smaller than jsPDF
tom_doerr · x · 2026-08-12
tinypdf is a minimal PDF creation library with under 400 lines of code and zero dependencies, weighing only 3.3KB—about 70x smaller than jsPDF. It focuses on core features like text, shapes, JPEG images, links, and multi-page support, and can convert Markdown to PDF. Ideal for invoices, receipts, labels, etc. The project has 1.9k stars on GitHub.
More from coding & agent
- Grok Bot Generates 74 Game Art Assets in 2 Hours: Real-World Test — hexiang · 2026-08-12
- OpenAI Dev Pushes Codex: Invites Users to Test and Provide Feedback — soumitrashukla9 · 2026-08-12
- Ditching Third-Party SERP Wrappers: Dev Builds In-House SEO Data Provider — RichardsonDx · 2026-08-12
- Practical Guide: Building Closed-Loop Evals for Multimodal AI Agents — MaryamMiradi · 2026-08-12
- Developer Builds Specialized Multi-Agent Team with Grok Bot — Scobleizer · 2026-08-12
- Who Controls AI Agent Spending? Dev Builds Paynomos for Policy-Based Payments — mahmoud_farhani · 2026-08-12