Ross ROSS = Recommend OSS · open-source software intelligence for agents

lmn1919/dompdf.js

Turn HTML into a 500-page vector PDF in 1 second. Open source. observed · 2026-08-28

github.com/lmn1919/dompdf.js · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

79/100

  • Activity 97
  • Release rhythm 82
  • Longevity 32
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 42.0
  • age_days: 456
  • days_rel: 41
  • days_push: 19
  • n_releases_24m: 5

Full methodology

Adoption not part of the score

1620 stars · 104 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

dompdf.js is a pure-frontend DOM-to-PDF engine built with Rust, WebAssembly, and TypeScript that renders vector PDFs directly in the browser without jsPDF or a server. It supports pagination for long documents, selectable text, custom font embedding, headers/footers, compression, and encryption.

Use cases

  • convert html to pdf in the browser
  • generate multi-page pdf from dom
  • export invoices or reports as vector pdf client-side
  • make selectable searchable pdf text instead of canvas screenshots
  • embed custom fonts and unicode text in generated pdfs
  • add headers footers and page numbers to exported pdf
  • encrypt or compress pdf generated in frontend

When to choose

  • you need vector, selectable-text PDFs rendered entirely client-side
  • you export long paginated documents (hundreds of pages) from the DOM
  • you want to avoid canvas-screenshot libraries like html2pdf.js that produce blurry bitmap PDFs
  • you need custom fonts, Unicode/CJK text, or PDF encryption without a server

When to avoid

  • you need server-side PDF generation (e.g. Node or headless Chrome rendering)
  • you require full CSS layout fidelity for arbitrarily complex pages
  • your target environment cannot load WASM or Web Workers
  • you need features like form filling or PDF editing rather than generation

Facets

library · maturity active

pdf templating graphics pdf frontend web-development files browser wasm html-to-pdf wasm vector-pdf pagination client-side typescript pdf-generation dom-rendering web-server

3 sources

Member repositories

RepositoryRoleHealth v2
lmn1919/dompdf.jsmain79

For agents

markdown · JSON · MCP: product_card(name="lmn1919/dompdf.js")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem