@broadpaper/forme
v0.4.0
Published
Browserless PDF backend for BroadPaper, built on the Forme (Rust/WASM) engine. Runs in Node, edge runtimes and the browser.
Maintainers
Readme
@broadpaper/forme
Browserless PDF generation for BroadPaper, via the Forme WebAssembly engine. The recommended backend.
Part of BroadPaper — an embeddable visual report designer and PDF renderer. Your users design the report in your application; BroadPaper owns the layout, the branding, the pagination and the output.
Install
npm install @broadpaper/formeProduces PDFs with no Chromium, no Playwright and no native PDF library — a WebAssembly engine and nothing else to install. That is what makes BroadPaper deployable in a container that has no browser in it, which is most of the containers a report renderer belongs in.
import { createRegistry } from "@broadpaper/blocks";
import { renderPdfPaginated } from "@broadpaper/forme";
const { pdf, pages } = await renderPdfPaginated({ template, data, registry: createRegistry() });Text is selectable, the fonts you supply are embedded, and output is byte-for-byte deterministic for identical input — so a document regenerated a year later is the same file, and a diff of two renders shows what actually changed.
Licensing
BroadPaper is free to evaluate, with no trial clock and nothing behind a feature gate. Install it, use every feature and evaluate it against your real data for as long as you like. Production use needs a licence.
In the software, the only difference without a licence is that generated PDFs carry an evaluation mark, and a licence removes it. Contractually, the licence is also what permits production use. No seats, no activation, no machine binding, no telemetry, and no call home at any point.
Documentation
Support
Paid licences include email support at [email protected].
Copyright © 2026 Codingbadger Creative Limited. See LICENSE in this package, and THIRD-PARTY-NOTICES.md for the components it ships with.
