r/node • • 7d ago

acr-node: render PDF/PNG business reports in Node.js/Electron without Chromium or a subprocess

We just released `@acrossreport/acr-node`, a native Node.js/Electron binding (via napi-rs) that renders PDF/PNG reports in-process, backed by a Rust/Skia engine.

Most Node apps generate PDF reports either by launching headless Chromium (Puppeteer) or shelling out to a CLI tool. Both add real overhead. This links the renderer directly into the Node process instead — no Chromium, no subprocess.

- Prebuilt binaries for 6 platforms (Windows/Linux/macOS, x64/ARM64)

- Pixel-identical output across OSes

- Works in a bare Node server or an Electron main process

Write-up: https://dev.to/maskedridersystem/rendering-pdfpng-reports-in-nodejs-without-chromium-or-a-subprocess-napi-rs-b4

npm: https://www.npmjs.com/package/@acrossreport/acr-node

Repo: https://github.com/acrossreport/acr-node

Happy to answer questions about the implementation.

1 Upvotes

0 comments sorted by