htmldocs — генерация PDF из React-шаблонов

★ 746

htmldocs is a tool for creating PDF documents with React, TypeScript, and Tailwind: a modern replacement for Word and LaTeX for generating documents in code. Reach for it when you need to programmatically generate documents from templates: build layouts for invoices, reports, and contracts in JSX and get PDFs just by passing data as props — with the structural rigor of LaTeX but the familiarity of HTML/CSS. It provides a local editor and preview server and support for modern CSS features (margin boxes, flexbox). Its focus is generating PDF documents from React templates for developers, not a PDF editor (Stirling PDF) or a word processor: the value is making documents as code, reusing templates and substituting data. It suits developers who need to programmatically and predictably generate PDFs (invoices, reports, contracts) on a familiar stack.