Skip to content

earonesty/boxpdf](https:

Build & Package

A box‑layout DSL for building PDFs declaratively on top of pdf-lib

TypeScript Latest v1.8.0 · 16d ago Security brief →

Features

  • Declarative layout primitives (vstack, hstack, text, image, tables, etc.)
  • Rich paragraph formatting with mixed inline runs, word wrapping and truncation controls
  • Theme system providing pre‑built visual styles
  • Streaming generation for memory‑bounded PDF output (~7 KB core)
  • Multi‑page flow handling with headers/footers and fragmentation

Recent releases

View all 5 releases →
No immediate action
v1.8.0 New feature

New layout features + fixes

No immediate action
v1.7.0 New feature

Profiling hooks + measurement memoization

No immediate action
v1.4.0 Breaking risk

streamFlow + contract + internals

Config change
v1.3.0 Breaking risk
Breaking upgrade

Page-size change + helpers

No immediate action
v1.2.0 New feature

shrink, breakWords, maxLines

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

About

Stars
11
Forks
1
Languages
TypeScript JavaScript
Downloads/week
138
NPM Maintainers
1 Single npm maintainer
Contributors
1
TypeScript
Types included ✓

Install & Platforms

Install via
npm

Beta — feedback welcome: [email protected]